cesium-native 0.43.0
|
Writes layer.json. More...
#include <CesiumQuantizedMeshTerrain/LayerWriter.h>
Public Member Functions | |
LayerWriter () | |
Constructs a new instance. | |
CesiumJsonWriter::ExtensionWriterContext & | getExtensions () |
Gets the context used to control how layer.json extensions are written. | |
const CesiumJsonWriter::ExtensionWriterContext & | getExtensions () const |
Gets the context used to control how layer.json extensions are written. | |
LayerWriterResult | write (const CesiumQuantizedMeshTerrain::Layer &layer, const LayerWriterOptions &options=LayerWriterOptions()) const |
Serializes the provided Layer into a layer.json byte vector. | |
Writes layer.json.
Definition at line 49 of file LayerWriter.h.
LayerWriterResult CesiumQuantizedMeshTerrain::LayerWriter::write | ( | const CesiumQuantizedMeshTerrain::Layer & | layer, |
const LayerWriterOptions & | options = LayerWriterOptions() ) const |
Serializes the provided Layer
into a layer.json byte vector.
layer | The layer. |
options | Options for how to write the layer.json. |