cesium-native
0.41.0
|
Options for how to read a glTF. More...
#include <CesiumGltfReader/GltfReader.h>
Public Attributes | |
bool | decodeDataUrls = true |
Whether data URLs in buffers and images should be automatically decoded as part of the load process. | |
bool | clearDecodedDataUrls = true |
Whether data URLs should be cleared after they are successfully decoded. More... | |
bool | decodeEmbeddedImages = true |
Whether embedded images in Model::buffers should be automatically decoded as part of the load process. More... | |
bool | resolveExternalImages = true |
Whether external images should be resolved. | |
bool | decodeDraco = true |
Whether geometry compressed using the KHR_draco_mesh_compression extension should be automatically decoded as part of the load process. | |
bool | decodeMeshOptData = true |
Whether the mesh data are decompressed as part of the load process, or left in the compressed format according to the EXT_meshopt_compression extension. | |
bool | dequantizeMeshData = true |
Whether the quantized mesh data are dequantized and converted to floating-point values when loading, according to the KHR_mesh_quantization extension. | |
bool | applyTextureTransform = true |
Whether the texture coordinates of a texture are transformed or not, according to the KHR_texture_transform extension. | |
CesiumGltf::Ktx2TranscodeTargets | ktx2TranscodeTargets |
For each possible input transmission format, this struct names the ideal target gpu-compressed pixel format to transcode to. | |
CesiumUtility::IntrusivePointer< GltfSharedAssetSystem > | pSharedAssetSystem |
Options for how to read a glTF.
Definition at line 51 of file GltfReader.h.
bool CesiumGltfReader::GltfReaderOptions::clearDecodedDataUrls = true |
Whether data URLs should be cleared after they are successfully decoded.
This reduces the memory usage of the model.
Definition at line 64 of file GltfReader.h.
bool CesiumGltfReader::GltfReaderOptions::decodeEmbeddedImages = true |
Whether embedded images in Model::buffers should be automatically decoded as part of the load process.
The ImageSpec::mimeType property is ignored, and instead the stb_image library is used to decode images in JPG
, PNG
, TGA
, BMP
, PSD
, GIF
, HDR
, or PIC
format.
Definition at line 74 of file GltfReader.h.
CesiumUtility::IntrusivePointer<GltfSharedAssetSystem> CesiumGltfReader::GltfReaderOptions::pSharedAssetSystem |
The shared asset system that will be used to store all of the shared assets that might appear in this glTF.
Definition at line 117 of file GltfReader.h.