5#include <CesiumGltf/ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue.h>
6#include <CesiumGltfReader/Library.h>
7#include <CesiumJsonReader/JsonReader.h>
8#include <CesiumJsonReader/JsonReaderOptions.h>
10#include <rapidjson/fwd.h>
16struct ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue;
27class CESIUMGLTFREADER_API
Reads ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue instances from JSON.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue > > readArrayFromJson(const rapidjson::Value &value) const
Reads an array of instances of ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a rapidJs...
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue > readFromJson(const std::span< const std::byte > &data) const
Reads an instance of ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a byte buffer.
ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValueReader()
Constructs a new instance.
const CesiumJsonReader::JsonReaderOptions & getOptions() const
Gets the options controlling how the JSON is read.
CesiumJsonReader::JsonReaderOptions & getOptions()
Gets the options controlling how the JSON is read.
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue > readFromJson(const rapidjson::Value &value) const
Reads an instance of ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a rapidJson::Value.
Holds options for reading statically-typed data structures from JSON.
Classes for reading glTF models.
Classes for working with glTF models.
ExtensionMeshPrimitiveKhrMaterialsVariants Mappings Value.
The result of JsonReader::readJson.