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