Drake
Drake C++ Documentation
GltfExtension Struct Reference

Detailed Description

Specifies how to deal with glTF "extensions" (non-standard capabilities).

https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#specifying-extensions

#include <drake/geometry/render_vtk/render_engine_vtk_params.h>

Public Member Functions

template<typename Archive >
void Serialize (Archive *a)
 Passes this object to an Archive. More...
 

Public Attributes

bool warn_unimplemented {true}
 Whether to log a warning when this extension is used (i.e., is listed in extensionsUsed) but isn't implemented by the render engine. More...
 

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ warn_unimplemented

bool warn_unimplemented {true}

Whether to log a warning when this extension is used (i.e., is listed in extensionsUsed) but isn't implemented by the render engine.

By default, all unimplemented extensions will log a warning, but users can configure specific extensions to be quiet.


The documentation for this struct was generated from the following file: