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