|
cesium-native 0.52.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. | |
| bool | decodeEmbeddedImages = true |
Whether embedded images in CesiumGltf::Model::buffers should be automatically decoded as part of the load process. | |
| 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 |
| bool | resolveExternalStructuralMetadata = true |
Whether the schemaUri property of EXT_structural_metadata will be properly resolved. If false, any external schemas will be ignored. | |
Options for how to read a glTF.
Definition at line 49 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::applyTextureTransform = true |
Whether the texture coordinates of a texture are transformed or not, according to the KHR_texture_transform extension.
Definition at line 103 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 62 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::decodeDataUrls = true |
Whether data URLs in buffers and images should be automatically decoded as part of the load process.
Definition at line 54 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::decodeDraco = true |
Whether geometry compressed using the KHR_draco_mesh_compression extension should be automatically decoded as part of the load process.
Definition at line 83 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::decodeEmbeddedImages = true |
Whether embedded images in CesiumGltf::Model::buffers should be automatically decoded as part of the load process.
The CesiumGltf::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 72 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::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.
Definition at line 90 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::dequantizeMeshData = true |
Whether the quantized mesh data are dequantized and converted to floating-point values when loading, according to the KHR_mesh_quantization extension.
Definition at line 97 of file GltfReader.h.
| CesiumGltf::Ktx2TranscodeTargets CesiumGltfReader::GltfReaderOptions::ktx2TranscodeTargets |
For each possible input transmission format, this struct names the ideal target gpu-compressed pixel format to transcode to.
Definition at line 109 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 115 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::resolveExternalImages = true |
Whether external images should be resolved.
Definition at line 77 of file GltfReader.h.
| bool CesiumGltfReader::GltfReaderOptions::resolveExternalStructuralMetadata = true |
Whether the schemaUri property of EXT_structural_metadata will be properly resolved. If false, any external schemas will be ignored.
Definition at line 122 of file GltfReader.h.