cesium-native  0.41.0
Cesium3DTilesWriter::SchemaWriter Class Reference

Writes schemas. More...

#include <Cesium3DTilesWriter/SchemaWriter.h>

Public Member Functions

 SchemaWriter ()
 Constructs a new instance.
 
CesiumJsonWriter::ExtensionWriterContextgetExtensions ()
 Gets the context used to control how schema extensions are written.
 
const CesiumJsonWriter::ExtensionWriterContextgetExtensions () const
 Gets the context used to control how schema extensions are written.
 
SchemaWriterResult writeSchema (const Cesium3DTiles::Schema &schema, const SchemaWriterOptions &options=SchemaWriterOptions()) const
 Serializes the provided schema object into a byte vector using the provided flags to convert. More...
 

Detailed Description

Writes schemas.

Definition at line 48 of file SchemaWriter.h.

Member Function Documentation

◆ writeSchema()

SchemaWriterResult Cesium3DTilesWriter::SchemaWriter::writeSchema ( const Cesium3DTiles::Schema schema,
const SchemaWriterOptions options = SchemaWriterOptions() 
) const

Serializes the provided schema object into a byte vector using the provided flags to convert.

Parameters
schemaThe schema.
optionsOptions for how to write the schema.
Returns
The result of writing the schema.

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