cesium-native 0.43.0
|
Reads MaterialOcclusionTextureInfo instances from JSON. More...
#include <CesiumGltfReader/MaterialOcclusionTextureInfoReader.h>
Public Member Functions | |
MaterialOcclusionTextureInfoReader () | |
Constructs a new instance. | |
CesiumJsonReader::JsonReaderOptions & | getOptions () |
Gets the options controlling how the JSON is read. | |
const CesiumJsonReader::JsonReaderOptions & | getOptions () const |
Gets the options controlling how the JSON is read. | |
CesiumJsonReader::ReadJsonResult< CesiumGltf::MaterialOcclusionTextureInfo > | readFromJson (const std::span< const std::byte > &data) const |
Reads an instance of MaterialOcclusionTextureInfo from a byte buffer. | |
CesiumJsonReader::ReadJsonResult< CesiumGltf::MaterialOcclusionTextureInfo > | readFromJson (const rapidjson::Value &value) const |
Reads an instance of MaterialOcclusionTextureInfo from a rapidJson::Value. | |
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::MaterialOcclusionTextureInfo > > | readArrayFromJson (const rapidjson::Value &value) const |
Reads an array of instances of MaterialOcclusionTextureInfo from a rapidJson::Value. | |
Reads MaterialOcclusionTextureInfo instances from JSON.
Definition at line 25 of file MaterialOcclusionTextureInfoReader.h.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::MaterialOcclusionTextureInfo > > CesiumGltfReader::MaterialOcclusionTextureInfoReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of MaterialOcclusionTextureInfo from a rapidJson::Value.
value | The value from which to read the array of instances. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::MaterialOcclusionTextureInfo > CesiumGltfReader::MaterialOcclusionTextureInfoReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of MaterialOcclusionTextureInfo from a rapidJson::Value.
value | The value from which to read the instance. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::MaterialOcclusionTextureInfo > CesiumGltfReader::MaterialOcclusionTextureInfoReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of MaterialOcclusionTextureInfo from a byte buffer.
data | The buffer from which to read the instance. |