ConditionalContentWriterResult writeConditionalContent(const Cesium3DTiles::ConditionalContent &conditionalContent, const ConditionalContentWriterOptions &options=ConditionalContentWriterOptions()) const
Serializes the provided conditional content object into a byte vector using the provided flags to con...
CesiumJsonWriter::ExtensionWriterContext & getExtensions()
Gets the context used to control how conditional content extensions are written.
ConditionalContentWriter()
Constructs a new instance.
const CesiumJsonWriter::ExtensionWriterContext & getExtensions() const
Gets the context used to control how conditional content extensions are written.
A context for writing extensions where known extensions and their handlers can be registered.
Options for how to write a Cesium3DTiles::ConditionalContent.
bool prettyPrint
If the conditional content JSON should be pretty printed.
The result of writing a Cesium3DTiles::ConditionalContent with ConditionalContentWriter::writeConditi...
std::vector< std::byte > conditionalContentBytes
The final generated std::vector<std::byte> of the conditional content JSON.
std::vector< std::string > errors
Errors, if any, that occurred during the write process.
std::vector< std::string > warnings
Warnings, if any, that occurred during the write process.
Defines the structure of 3D Tiles content for the 3DTILES_content_conditional extension.