cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltfWriter::GltfWriterOptions Struct Reference

Options for how to write a glTF. More...

#include <CesiumGltfWriter/GltfWriter.h>

Public Attributes

bool prettyPrint = false
 If the glTF JSON should be pretty printed. Usable with glTF or GLB (not advised).
 
size_t binaryChunkByteAlignment = 4
 Byte alignment of the GLB binary chunk. When using 64-bit types in EXT_mesh_features this value should be set to 8.
 

Detailed Description

Options for how to write a glTF.

Definition at line 40 of file GltfWriter.h.

Member Data Documentation

◆ binaryChunkByteAlignment

size_t CesiumGltfWriter::GltfWriterOptions::binaryChunkByteAlignment = 4

Byte alignment of the GLB binary chunk. When using 64-bit types in EXT_mesh_features this value should be set to 8.

Definition at line 51 of file GltfWriter.h.

◆ prettyPrint

bool CesiumGltfWriter::GltfWriterOptions::prettyPrint = false

If the glTF JSON should be pretty printed. Usable with glTF or GLB (not advised).

Definition at line 45 of file GltfWriter.h.


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