|
cesium-native 0.52.0
|
Reads Sampler instances from JSON. More...
#include <CesiumGltfReader/SamplerReader.h>
Public Member Functions | |
| SamplerReader () | |
| 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::Sampler > | readFromJson (const std::span< const std::byte > &data) const |
| Reads an instance of Sampler from a byte buffer. | |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::Sampler > | readFromJson (const rapidjson::Value &value) const |
| Reads an instance of Sampler from a rapidJson::Value. | |
| CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::Sampler > > | readArrayFromJson (const rapidjson::Value &value) const |
| Reads an array of instances of Sampler from a rapidJson::Value. | |
Reads Sampler instances from JSON.
Definition at line 24 of file SamplerReader.h.
| CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::Sampler > > CesiumGltfReader::SamplerReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of Sampler from a rapidJson::Value.
| value | The value from which to read the array of instances. |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::Sampler > CesiumGltfReader::SamplerReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of Sampler from a rapidJson::Value.
| value | The value from which to read the instance. |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::Sampler > CesiumGltfReader::SamplerReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of Sampler from a byte buffer.
| data | The buffer from which to read the instance. |