5#include <CesiumGltf/ExtensionModelKhrMaterialsVariantsValue.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
20 static constexpr const char* TypeName =
"ExtensionModelKhrMaterialsVariants";
23 static constexpr const char* ExtensionName =
"KHR_materials_variants";
28 std::vector<CesiumGltf::ExtensionModelKhrMaterialsVariantsValue>
variants;
43 this->variants.capacity());
47 value.getSizeBytes() -
Classes for working with glTF models.
An object defining a valid material variant.
glTF extension that defines a material variations for mesh primitives
std::vector< CesiumGltf::ExtensionModelKhrMaterialsVariantsValue > variants
variants
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...