cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumQuantizedMeshTerrain::LayerWriter Class Reference

Writes layer.json. More...

#include <CesiumQuantizedMeshTerrain/LayerWriter.h>

Public Member Functions

 LayerWriter ()
 Constructs a new instance.
 
CesiumJsonWriter::ExtensionWriterContextgetExtensions ()
 Gets the context used to control how layer.json extensions are written.
 
const CesiumJsonWriter::ExtensionWriterContextgetExtensions () 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.
 

Detailed Description

Writes layer.json.

Definition at line 49 of file LayerWriter.h.

Member Function Documentation

◆ write()

LayerWriterResult CesiumQuantizedMeshTerrain::LayerWriter::write ( const CesiumQuantizedMeshTerrain::Layer & layer,
const LayerWriterOptions & options = LayerWriterOptions() ) const

Serializes the provided Layer into a layer.json byte vector.

Parameters
layerThe layer.
optionsOptions for how to write the layer.json.
Returns
The result of writing the layer.json.

The documentation for this class was generated from the following file: