3#include <Cesium3DTilesWriter/Library.h>
4#include <CesiumJsonWriter/ExtensionWriterContext.h>
const CesiumJsonWriter::ExtensionWriterContext & getExtensions() const
Gets the context used to control how schema extensions are written.
SchemaWriter()
Constructs a new instance.
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.
CesiumJsonWriter::ExtensionWriterContext & getExtensions()
Gets the context used to control how schema extensions are written.
A context for writing extensions where known extensions and their handlers can be registered.
Classes for writing 3D Tiles.
Classes for using 3D Tiles.
Options for how to write a schema.
bool prettyPrint
If the schema JSON should be pretty printed.
The result of writing a schema with SchemaWriter::writeSchema.
std::vector< std::byte > schemaBytes
The final generated std::vector<std::byte> of the schema JSON.
std::vector< std::string > warnings
Warnings, if any, that occurred during the write process.
std::vector< std::string > errors
Errors, if any, that occurred during the write process.
An object defining classes and enums.