|
| struct | Accessor |
| | This class is not meant to be instantiated directly. Use Accessor instead. More...
|
| |
| struct | AccessorSparse |
| | Sparse storage of accessor values that deviate from their initialization value. More...
|
| |
| struct | AccessorSparseIndices |
| | An object pointing to a buffer view containing the indices of deviating accessor values. The number of indices is equal to accessor.sparse.count. Indices MUST strictly increase. More...
|
| |
| struct | AccessorSparseValues |
| | An object pointing to a buffer view containing the deviating accessor values. The number of elements is equal to accessor.sparse.count times number of components. The elements have the same component type as the base accessor. The elements are tightly packed. Data MUST be aligned following the same rules as the base accessor. More...
|
| |
| struct | AccessorSpec |
| | A typed view into a buffer view that contains raw binary data. More...
|
| |
| struct | AccessorTypes |
| | Contains types that may optionally be used with AccessorView for various Accessor::componentType values. More...
|
| |
| class | AccessorView |
| | A view on the data of one accessor of a glTF asset. More...
|
| |
| class | AccessorWriter |
| | Provides write access to an AccessorView. More...
|
| |
| struct | Animation |
| | A keyframe animation. More...
|
| |
| struct | AnimationChannel |
| | An animation channel combines an animation sampler with a target property being animated. More...
|
| |
| struct | AnimationChannelTarget |
| | The descriptor of the animated property. More...
|
| |
| struct | AnimationSampler |
| | An animation sampler combines timestamps with a sequence of output values and defines an interpolation algorithm. More...
|
| |
| struct | Asset |
| | Metadata about the glTF asset. More...
|
| |
| struct | Box |
| | Parameters describing a box shape. More...
|
| |
| struct | Buffer |
| | This class is not meant to be instantiated directly. Use Buffer instead. More...
|
| |
| struct | BufferCesium |
| | Holds Buffer properties that are specific to the glTF loader rather than part of the glTF spec. More...
|
| |
| struct | BufferSpec |
| | A buffer points to binary geometry, animation, or skins. More...
|
| |
| struct | BufferView |
| | A view into a buffer generally representing a subset of the buffer. More...
|
| |
| struct | Camera |
| | A camera's projection. A node MAY reference a camera to apply a transform to place the camera in the scene. More...
|
| |
| struct | CameraOrthographic |
| | An orthographic camera containing properties to create an orthographic projection matrix. More...
|
| |
| struct | CameraPerspective |
| | A perspective camera containing properties to create a perspective projection matrix. More...
|
| |
| struct | CanBeNormalized |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< glm::mat< n, n, T, P > > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< glm::vec< n, T, P > > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< int16_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< int32_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< int64_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< int8_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< PropertyArrayView< T > > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< T > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< uint16_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< uint32_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< uint64_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | CanBeNormalized< uint8_t > |
| | Check if a C++ type can be normalized. More...
|
| |
| struct | Capsule |
| | Parameters describing a capsule shape. More...
|
| |
| struct | Class |
| | A class containing a set of properties. More...
|
| |
| struct | ClassProperty |
| | A class property. More...
|
| |
| struct | ColorFromAccessor |
| | Visitor that retrieves the color from the given accessor type as a glm::dvec4. More...
|
| |
| struct | CountFromAccessor |
| | Visitor that retrieves the count of elements in the given accessor type as an int64_t. More...
|
| |
| struct | Cylinder |
| | Parameters describing a cylinder shape. More...
|
| |
| struct | Enum |
| | This class is not meant to be instantiated directly. Use Enum instead. More...
|
| |
| struct | EnumSpec |
| | An object defining the values of an enum. More...
|
| |
| struct | EnumValue |
| | An enum value. More...
|
| |
| struct | ExtensionBufferExtMeshoptCompression |
| | Compressed data for bufferView. More...
|
| |
| struct | ExtensionBufferViewExtMeshoptCompression |
| | Compressed data for bufferView. More...
|
| |
| struct | ExtensionCesiumPrimitiveOutline |
| | glTF extension for indicating that some edges of a primitive's triangles should be outlined. More...
|
| |
| struct | ExtensionCesiumRTC |
| | glTF CESIUM_RTC extension. More...
|
| |
| struct | ExtensionCesiumTileEdges |
| | CESIUM_tile_edges extension for a primitive in a glTF model. More...
|
| |
| struct | ExtensionExtImplicitCylinderRegion |
| | Extension of KHR_implicit_shapes.shape to represent an implicit cylinder region in a glTF model. More...
|
| |
| struct | ExtensionExtImplicitEllipsoidRegion |
| | Extension of KHR_implicit_shapes.shape to represent an implicit ellipsoid region in a glTF model. More...
|
| |
| struct | ExtensionExtInstanceFeatures |
| | An object describing per-instance feature IDs. More...
|
| |
| struct | ExtensionExtInstanceFeaturesFeatureId |
| | Feature IDs stored in a GPU mesh instancing attribute. More...
|
| |
| struct | ExtensionExtMeshFeatures |
| | An object describing feature IDs for a mesh primitive. More...
|
| |
| struct | ExtensionExtMeshGpuInstancing |
| | glTF extension defines instance attributes for a node with a mesh. More...
|
| |
| struct | ExtensionExtMeshPolygon |
| | glTF extension adding an encoding of polygon primitive topology More...
|
| |
| struct | ExtensionExtMeshPrimitiveEdgeVisibility |
| | This class is not meant to be instantiated directly. Use ExtensionExtMeshPrimitiveEdgeVisibility instead. More...
|
| |
| struct | ExtensionExtMeshPrimitiveEdgeVisibilitySpec |
| | glTF extension encoding the visibility of the edges of a triangles primitive More...
|
| |
| struct | ExtensionExtPrimitiveVoxels |
| | This class is not meant to be instantiated directly. Use ExtensionExtPrimitiveVoxels instead. More...
|
| |
| struct | ExtensionExtPrimitiveVoxelsSpec |
| | EXT_primitive_voxels extension for a primitive in a glTF model to indicate voxel-based volumetric data More...
|
| |
| struct | ExtensionExtStructuralMetadata |
| | Structural metadata about a glTF element. More...
|
| |
| struct | ExtensionKhrBillboard |
| | KHR_billboard glTF Node Extension. More...
|
| |
| struct | ExtensionKhrDracoMeshCompression |
| | KHR_draco_mesh_compression glTF Mesh Primitive Extension. More...
|
| |
| struct | ExtensionKhrGaussianSplatting |
| | Data defining a 3D Gaussian Splat primitive. More...
|
| |
| struct | ExtensionKhrGaussianSplattingCompressionSpz2 |
| | Compressed data for SPZ v2 primitive. More...
|
| |
| struct | ExtensionKhrGaussianSplattingHintsValue |
| | Optional rendering hints for rendering the 3D Gaussian splats. Renderers are free to ignore any of these. More...
|
| |
| struct | ExtensionKhrImplicitShapes |
| | Top level implicit shapes. More...
|
| |
| struct | ExtensionKhrMaterialsUnlit |
| | glTF extension that defines the unlit material model. More...
|
| |
| struct | ExtensionKhrTextureBasisu |
| | glTF extension to specify textures using the KTX v2 images with Basis Universal supercompression. More...
|
| |
| struct | ExtensionKhrTextureTransform |
| | glTF extension that enables shifting and scaling UV coordinates on a per-texture basis More...
|
| |
| struct | ExtensionMeshPrimitiveExtStructuralMetadata |
| | Structural metadata about a glTF primitive. More...
|
| |
| struct | ExtensionMeshPrimitiveKhrMaterialsVariants |
| | KHR_materials_variants glTF Mesh Primitive Extension. More...
|
| |
| struct | ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue |
| | ExtensionMeshPrimitiveKhrMaterialsVariants Mappings Value. More...
|
| |
| struct | ExtensionModelExtStructuralMetadata |
| | glTF extension that provides structural metadata about vertices, texels, and features in a glTF asset. More...
|
| |
| struct | ExtensionModelKhrMaterialsVariants |
| | glTF extension that defines a material variations for mesh primitives More...
|
| |
| struct | ExtensionModelKhrMaterialsVariantsValue |
| | An object defining a valid material variant. More...
|
| |
| struct | ExtensionModelMaxarMeshVariants |
| | glTF extension that defines mesh variants for nodes More...
|
| |
| struct | ExtensionModelMaxarMeshVariantsValue |
| | An object defining a valid mesh variant. More...
|
| |
| struct | ExtensionNodeMaxarMeshVariants |
| | MAXAR_mesh_variants node extension. More...
|
| |
| struct | ExtensionNodeMaxarMeshVariantsMappingsValue |
| | ExtensionNodeMaxarMeshVariants Mappings Value. More...
|
| |
| struct | ExtensionTextureWebp |
| | glTF extension to specify textures using the WebP image format. More...
|
| |
| struct | FeatureId |
| | Feature IDs stored in an attribute or texture. More...
|
| |
| struct | FeatureIdFromAccessor |
| | Visitor that retrieves the feature ID from the given accessor type as an int64_t. This should be initialized with the index of the vertex whose feature ID is being queried. More...
|
| |
| struct | FeatureIdTexture |
| | A texture containing feature IDs. More...
|
| |
| class | FeatureIdTextureView |
| | A view on the image data of FeatureIdTexture. More...
|
| |
| struct | Image |
| | This class is not meant to be instantiated directly. Use Image instead. More...
|
| |
| struct | ImageSpec |
| | Image data used to create a texture. Image MAY be referenced by an URI (or IRI) or a buffer view index. More...
|
| |
| struct | IndexFromAccessor |
| | Visitor that retrieves the vertex index from the given accessor type as an int64_t. This should be initialized with the index (within the accessor itself) of the vertex index. More...
|
| |
| struct | IndicesForFaceFromAccessor |
| | Visitor that retrieves the vertex indices from the given accessor type corresponding to a given face index. These indices are returned as an array of int64_ts. This should be initialized with the index of the face, the total number of vertices in the primitive, and the CesiumGltf::MeshPrimitive::Mode of the primitive. More...
|
| |
| struct | InstanceAttributeSemantics |
| | The standard glTF instance attribute semantics from EXT_mesh_gpu_instancing plus additional instance attribute semantics from extensions. More...
|
| |
| struct | IsMetadataArray |
| | Check if a C++ type can be represented as an array. More...
|
| |
| struct | IsMetadataArray< PropertyArrayCopy< T > > |
| | Check if a C++ type can be represented as an array. More...
|
| |
| struct | IsMetadataArray< PropertyArrayView< T > > |
| | Check if a C++ type can be represented as an array. More...
|
| |
| struct | IsMetadataArray< T > |
| | Check if a C++ type can be represented as an array. More...
|
| |
| struct | IsMetadataBoolean |
| | Check if a C++ type can be represented as a boolean property type. More...
|
| |
| struct | IsMetadataBoolean< bool > |
| | Check if a C++ type can be represented as a boolean property type. More...
|
| |
| struct | IsMetadataBoolean< T > |
| | Check if a C++ type can be represented as a boolean property type. More...
|
| |
| struct | IsMetadataBooleanArray |
| | Check if a C++ type can be represented as an array of booleans property type. More...
|
| |
| struct | IsMetadataBooleanArray< PropertyArrayView< bool > > |
| | Check if a C++ type can be represented as an array of booleans property type. More...
|
| |
| struct | IsMetadataBooleanArray< T > |
| | Check if a C++ type can be represented as an array of booleans property type. More...
|
| |
| struct | IsMetadataFloating |
| | Check if a C++ type can be represented as a floating-point property type. More...
|
| |
| struct | IsMetadataFloating< double > |
| | Check if a C++ type can be represented as a floating-point property type. More...
|
| |
| struct | IsMetadataFloating< float > |
| | Check if a C++ type can be represented as a floating-point property type. More...
|
| |
| struct | IsMetadataFloating< T > |
| | Check if a C++ type can be represented as a floating-point property type. More...
|
| |
| struct | IsMetadataInteger |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< int16_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< int32_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< int64_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< int8_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< T > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< uint16_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< uint32_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< uint64_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataInteger< uint8_t > |
| | Check if a C++ type can be represented as an integer property type. More...
|
| |
| struct | IsMetadataMatN |
| | Check if a C++ type can be represented as a matN type. More...
|
| |
| struct | IsMetadataMatN< glm::mat< n, n, T, P > > |
| | Check if a C++ type can be represented as a matN type. More...
|
| |
| struct | IsMetadataMatN< T > |
| | Check if a C++ type can be represented as a matN type. More...
|
| |
| struct | IsMetadataNumeric |
| | Check if a C++ type can be represented as a numeric property, i.e. a scalar / vecN / matN type. More...
|
| |
| struct | IsMetadataNumeric< T > |
| | Check if a C++ type can be represented as a numeric property, i.e. a scalar / vecN / matN type. More...
|
| |
| struct | IsMetadataNumericArray |
| | Check if a C++ type can be represented as an array of numeric elements property type. More...
|
| |
| struct | IsMetadataNumericArray< PropertyArrayCopy< T > > |
| | Check if a C++ type can be represented as an array of numeric elements property type. More...
|
| |
| struct | IsMetadataNumericArray< PropertyArrayView< T > > |
| | Check if a C++ type can be represented as an array of numeric elements property type. More...
|
| |
| struct | IsMetadataNumericArray< T > |
| | Check if a C++ type can be represented as an array of numeric elements property type. More...
|
| |
| struct | IsMetadataScalar |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< double > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< float > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< int16_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< int32_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< int64_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< int8_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< T > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< uint16_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< uint32_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< uint64_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataScalar< uint8_t > |
| | Check if a C++ type can be represented as a scalar property type. More...
|
| |
| struct | IsMetadataString |
| | Check if a C++ type can be represented as a string property type. More...
|
| |
| struct | IsMetadataString< std::string_view > |
| | Check if a C++ type can be represented as a string property type. More...
|
| |
| struct | IsMetadataString< T > |
| | Check if a C++ type can be represented as a string property type. More...
|
| |
| struct | IsMetadataStringArray |
| | Check if a C++ type can be represented as an array of strings property type. More...
|
| |
| struct | IsMetadataStringArray< PropertyArrayView< std::string_view > > |
| | Check if a C++ type can be represented as an array of strings property type. More...
|
| |
| struct | IsMetadataStringArray< T > |
| | Check if a C++ type can be represented as an array of strings property type. More...
|
| |
| struct | IsMetadataVecN |
| | Check if a C++ type can be represented as a vecN type. More...
|
| |
| struct | IsMetadataVecN< glm::vec< n, T, P > > |
| | Check if a C++ type can be represented as a vecN type. More...
|
| |
| struct | IsMetadataVecN< T > |
| | Check if a C++ type can be represented as a vecN type. More...
|
| |
| class | KhrTextureTransform |
| | A utility class that parses KHR_texture_transform parameters and transforms input texture coordinates. More...
|
| |
| struct | LineString |
| | Represents one or more line strings to be drawn as edges of a triangle mesh. More...
|
| |
| struct | Material |
| | The material appearance of a primitive. More...
|
| |
| struct | MaterialNormalTextureInfo |
| | Material Normal Texture Info. More...
|
| |
| struct | MaterialOcclusionTextureInfo |
| | Material Occlusion Texture Info. More...
|
| |
| struct | MaterialPBRMetallicRoughness |
| | A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. More...
|
| |
| struct | MaxIndexValueFromAccessor |
| | Returns the maximum possible index value for the given IndexAccessorType. More...
|
| |
| struct | Mesh |
| | A set of primitives to be rendered. Its global transform is defined by a node that references it. More...
|
| |
| struct | MeshPrimitive |
| | Geometry to be rendered with the given material. More...
|
| |
| struct | MetadataArrayType |
| | Retrieve the component type of a metadata array. More...
|
| |
| struct | MetadataArrayType< CesiumGltf::PropertyArrayCopy< T > > |
| | Retrieve the component type of a metadata array. More...
|
| |
| struct | MetadataArrayType< CesiumGltf::PropertyArrayView< T > > |
| | Retrieve the component type of a metadata array. More...
|
| |
| struct | MetadataConversions |
| | Default conversion between two types. No actual conversion is defined. This returns std::nullopt to indicate the conversion was not successful. More...
|
| |
| struct | MetadataConversions< bool, std::string > |
| | Converts from std::string to a bool. More...
|
| |
| struct | MetadataConversions< bool, std::string_view > |
| | Converts from std::string_view to a bool. More...
|
| |
| struct | MetadataConversions< bool, TFrom, std::enable_if_t< CesiumGltf::IsMetadataScalar< TFrom >::value > > |
| | Converts from a scalar to a bool. More...
|
| |
| struct | MetadataConversions< double, bool > |
| | Converts from a boolean to a double. More...
|
| |
| struct | MetadataConversions< double, float > |
| | Converts from a float to a double. More...
|
| |
| struct | MetadataConversions< double, std::string > |
| | Converts from std::string to a double. More...
|
| |
| struct | MetadataConversions< double, std::string_view > |
| | Converts from std::string_view to a double. More...
|
| |
| struct | MetadataConversions< double, TFrom, std::enable_if_t< CesiumGltf::IsMetadataInteger< TFrom >::value > > |
| | Converts from any integer type to a double. More...
|
| |
| struct | MetadataConversions< float, bool > |
| | Converts from a boolean to a float. More...
|
| |
| struct | MetadataConversions< float, double > |
| | Converts from a double to a float. More...
|
| |
| struct | MetadataConversions< float, std::string > |
| | Converts from a std::string to a float. More...
|
| |
| struct | MetadataConversions< float, std::string_view > |
| | Converts from a std::string_view to a float. More...
|
| |
| struct | MetadataConversions< float, TFrom, std::enable_if_t< CesiumGltf::IsMetadataInteger< TFrom >::value > > |
| | Converts from an integer type to a float. More...
|
| |
| struct | MetadataConversions< std::string, bool > |
| | Converts from a boolean to a string. More...
|
| |
| struct | MetadataConversions< std::string, std::string_view > |
| | Converts from a std::string_view to a std::string. More...
|
| |
| struct | MetadataConversions< std::string, TFrom, std::enable_if_t< IsMetadataScalar< TFrom >::value > > |
| | Converts from a scalar to a string. More...
|
| |
| struct | MetadataConversions< std::string, TFrom, std::enable_if_t< IsMetadataVecN< TFrom >::value||IsMetadataMatN< TFrom >::value > > |
| | Converts from a glm::vecN or glm::matN to a string. More...
|
| |
| struct | MetadataConversions< T, T > |
| | Trivially converts any type to itself. More...
|
| |
| struct | MetadataConversions< TTo, bool, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value > > |
| | Converts from a boolean to an integer type. More...
|
| |
| struct | MetadataConversions< TTo, bool, std::enable_if_t< IsMetadataMatN< TTo >::value > > |
| | Converts from a boolean to a matN. More...
|
| |
| struct | MetadataConversions< TTo, bool, std::enable_if_t< IsMetadataVecN< TTo >::value > > |
| | Converts from a boolean to a vecN. More...
|
| |
| struct | MetadataConversions< TTo, std::string, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value &&!std::is_signed_v< TTo > > > |
| | Converts from std::string to an unsigned integer. More...
|
| |
| struct | MetadataConversions< TTo, std::string, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value &&std::is_signed_v< TTo > > > |
| | Converts from std::string to a signed integer. More...
|
| |
| struct | MetadataConversions< TTo, std::string_view, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value > > |
| | Converts from std::string_view to an integer. More...
|
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value &&CesiumGltf::IsMetadataFloating< TFrom >::value > > |
| | Converts from a floating-point type to an integer. More...
|
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataInteger< TTo >::value &&CesiumGltf::IsMetadataInteger< TFrom >::value &&!std::is_same_v< TTo, TFrom > > > |
| | Converts from one integer type to another. More...
|
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataMatN< TTo >::value &&CesiumGltf::IsMetadataMatN< TFrom >::value &&!std::is_same_v< TTo, TFrom > > > |
| | Converts from a matN type to another matN type. More...
|
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataMatN< TTo >::value &&CesiumGltf::IsMetadataScalar< TFrom >::value > > |
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataVecN< TTo >::value &&CesiumGltf::IsMetadataScalar< TFrom >::value > > |
| | Converts from a scalar type to a vecN. More...
|
| |
| struct | MetadataConversions< TTo, TFrom, std::enable_if_t< CesiumGltf::IsMetadataVecN< TTo >::value &&CesiumGltf::IsMetadataVecN< TFrom >::value &&!std::is_same_v< TTo, TFrom > > > |
| | Converts from a vecN type to another vecN type. More...
|
| |
| struct | Model |
| | This class is not meant to be instantiated directly. Use Model instead. More...
|
| |
| struct | ModelSpec |
| | The root object for a glTF asset. More...
|
| |
| struct | NamedObject |
| | The base class for objects in a glTF that have a name. More...
|
| |
| struct | Node |
| | A node in the node hierarchy. When the node contains skin, all mesh.primitives MUST contain JOINTS_0 and WEIGHTS_0 attributes. A node MAY have either a matrix or any combination of translation/rotation/scale (TRS) properties. TRS properties are converted to matrices and postmultiplied in the T * R * S order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), matrix MUST NOT be present. More...
|
| |
| struct | NormalFromAccessor |
| | Visitor that retrieves the normal from the given accessor type as a glm::dvec3. More...
|
| |
| struct | NumIndicesFromAccessor |
| | Visitor that returns the number of indices contained in an IndexAccessorType variant. More...
|
| |
| struct | Padding |
| | The padding around a voxel grid. Specifies how many rows of attribute data come from neighboring grids in each dimension. More...
|
| |
| struct | PositionFromAccessor |
| | Visitor that retrieves the position from the given accessor type as a glm::dvec3. More...
|
| |
| class | PropertyArrayCopy |
| | A copy of an array element of a PropertyTableProperty or PropertyTextureProperty. More...
|
| |
| class | PropertyArrayCopy< bool > |
| | A copy of a bool array element of a PropertyTableProperty or PropertyTextureProperty. More...
|
| |
| class | PropertyArrayCopy< std::string_view > |
| | A copy of a string array element of a PropertyTableProperty. More...
|
| |
| class | PropertyArrayView |
| | A view on an array element of a PropertyTableProperty or PropertyTextureProperty. More...
|
| |
| class | PropertyArrayView< bool > |
| | A view on a bool array element of a PropertyTableProperty or PropertyTextureProperty. More...
|
| |
| class | PropertyArrayView< std::string_view > |
| | A view on a string array element of a PropertyTableProperty or PropertyTextureProperty. More...
|
| |
| struct | PropertyAttribute |
| | Properties conforming to a class, organized as property values stored in attributes. More...
|
| |
| struct | PropertyAttributeProperty |
| | An attribute containing property values. More...
|
| |
| class | PropertyAttributePropertyView |
| | A view of the data specified by a PropertyAttributeProperty. More...
|
| |
| class | PropertyAttributePropertyView< ElementType, false > |
| | A view of the non-normalized data specified by a PropertyAttributeProperty. More...
|
| |
| class | PropertyAttributePropertyView< ElementType, true > |
| | A view of the normalized data specified by a PropertyAttributeProperty. More...
|
| |
| class | PropertyAttributePropertyViewStatus |
| | Indicates the status of a property attribute property view. More...
|
| |
| class | PropertyAttributeView |
| | A view on a PropertyAttribute. More...
|
| |
| struct | PropertyTable |
| | Properties conforming to a class, organized as property values stored in binary columnar arrays. More...
|
| |
| struct | PropertyTableProperty |
| | An array of binary property values. More...
|
| |
| class | PropertyTablePropertyView |
| | A view on the data of the PropertyTableProperty that is created by a PropertyTableView. More...
|
| |
| class | PropertyTablePropertyView< ElementType, false > |
| | A view on the data of the PropertyTableProperty that is created by a PropertyTableView. More...
|
| |
| class | PropertyTablePropertyView< ElementType, true > |
| | A view on the normalized data of the PropertyTableProperty that is created by a PropertyTableView. More...
|
| |
| class | PropertyTablePropertyViewStatus |
| | Indicates the status of a property table property view. More...
|
| |
| class | PropertyTableView |
| | Utility to retrieve the data of PropertyTable. More...
|
| |
| struct | PropertyTexture |
| | Properties conforming to a class, organized as property values stored in textures. More...
|
| |
| struct | PropertyTextureProperty |
| | A texture containing property values. More...
|
| |
| class | PropertyTexturePropertyView |
| | A view of the data specified by a PropertyTextureProperty. More...
|
| |
| class | PropertyTexturePropertyView< ElementType, false > |
| | A view of the non-normalized data specified by a PropertyTextureProperty. More...
|
| |
| class | PropertyTexturePropertyView< ElementType, true > |
| | A view of the normalized data specified by a PropertyTextureProperty. More...
|
| |
| class | PropertyTexturePropertyViewStatus |
| | Indicates the status of a property texture property view. More...
|
| |
| class | PropertyTextureView |
| | A view on a PropertyTexture. More...
|
| |
| class | PropertyView |
| | Represents a metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< bool > |
| | Represents a boolean metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< ElementType, false > |
| | Represents a non-normalized metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< ElementType, true > |
| | Represents a normalized metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< PropertyArrayView< bool > > |
| | Represents a boolean array metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< PropertyArrayView< ElementType >, false > |
| | Represents a non-normalized array metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< PropertyArrayView< ElementType >, true > |
| | Represents a normalized array metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< PropertyArrayView< std::string_view > > |
| | Represents a string array metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyView< std::string_view > |
| | Represents a string metadata property in EXT_structural_metadata. More...
|
| |
| class | PropertyViewStatus |
| | Indicates the status of a property view. More...
|
| |
| struct | QuaternionFromAccessor |
| | Visitor that retrieves the quaternion from the given accessor type as a glm::dquat. More...
|
| |
| struct | Sampler |
| | Texture sampler properties for filtering and wrapping modes. More...
|
| |
| struct | Scene |
| | The root nodes of a scene. More...
|
| |
| struct | Schema |
| | An object defining classes and enums. More...
|
| |
| struct | Shape |
| | Parameters describing an implicit shape. More...
|
| |
| struct | Skin |
| | Joints and matrices defining a skin. More...
|
| |
| struct | Sphere |
| | Parameters describing a sphere shape. More...
|
| |
| struct | StatusFromAccessor |
| | Visitor that retrieves the status from the given accessor. Returns an invalid status for a std::monostate (interpreted as a nonexistent accessor). More...
|
| |
| struct | TexCoordFromAccessor |
| | Visitor that retrieves the texture coordinates from the given accessor type as a glm::dvec2. This should be initialized with the target index. More...
|
| |
| struct | Texture |
| | A texture and its sampler. More...
|
| |
| struct | TextureInfo |
| | Reference to a texture. More...
|
| |
| class | TextureView |
| | A view into the texture data of a single texture from a Model. More...
|
| |
| struct | TextureViewOptions |
| | Describes options for constructing a view on a glTF texture. More...
|
| |
| struct | TypeToDimensions |
| | The number of dimensions that this type contains. More...
|
| |
| struct | TypeToDimensions< glm::mat< n, n, T, P > > |
| | The number of dimensions that this type contains. More...
|
| |
| struct | TypeToDimensions< glm::vec< n, T, P > > |
| | The number of dimensions that this type contains. More...
|
| |
| struct | TypeToNormalizedType |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< glm::mat< N, N, T, Q > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< glm::vec< N, T, Q > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< int16_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< int32_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< int64_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< int8_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< glm::mat< N, N, T, Q > > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< glm::vec< N, T, Q > > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< int16_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< int32_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< int64_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< int8_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< uint16_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< uint32_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< uint64_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< PropertyArrayView< uint8_t > > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< uint16_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< uint32_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< uint64_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToNormalizedType< uint8_t > |
| | Convert an integer numeric type to the corresponding representation as a double type. Doubles are preferred over floats to maintain more precision. More...
|
| |
| struct | TypeToPropertyType |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< bool > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< double > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< float > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::mat< 2, 2, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::mat< 3, 3, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::mat< 4, 4, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::vec< 2, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::vec< 3, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< glm::vec< 4, T, P > > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< int16_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< int32_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< int64_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< int8_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< std::string_view > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< uint16_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< uint32_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< uint64_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | TypeToPropertyType< uint8_t > |
| | Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
|
| |
| struct | VertexAttributeSemantics |
| | The standard glTF vertex attribute semantics from the specification plus additional vertex attribute semantics from extensions. More...
|
| |
|
| PositionAccessorType | getPositionAccessorView (const Model &model, const MeshPrimitive &primitive) |
| | Retrieves an accessor view for the position attribute from the given glTF primitive and model. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| NormalAccessorType | getNormalAccessorView (const Model &model, const MeshPrimitive &primitive) |
| | Retrieves an accessor view for the normal attribute from the given glTF primitive and model. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| FeatureIdAccessorType | getFeatureIdAccessorView (const Model &model, const MeshPrimitive &primitive, int32_t featureIdSetIndex) |
| | Retrieves an accessor view for the specified feature ID attribute from the given glTF primitive and model. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| FeatureIdAccessorType | getFeatureIdAccessorView (const Model &model, const Node &node, int32_t featureIdSetIndex) |
| | Retrieves an accessor view for the specified feature ID attribute from the given glTF node and model, if the node contains an EXT_mesh_gpu_instancing property. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| IndexAccessorType | getIndexAccessorView (const Model &model, const MeshPrimitive &primitive) |
| | Retrieves an accessor view for the indices of the given glTF primitive from the model. The primitive may not specify any indices; if so, std::monostate is returned.
|
| |
| IndexAccessorType | getIndexAccessorView (const Model &model, int32_t index) |
| | Retrieves an indices accessor view of the accessor at the given index.
|
| |
|
IndexAccessorType | getIndexAccessorView (const Model &model, const Accessor &accessor) |
| | Retrieves an indices accessor view of given accessor.
|
| |
| TexCoordAccessorType | getTexCoordAccessorView (const Model &model, const MeshPrimitive &primitive, int32_t textureCoordinateSetIndex) |
| | Retrieves an accessor view for the specified texture coordinate set from the given glTF primitive and model. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| QuaternionAccessorType | getQuaternionAccessorView (const Model &model, const Accessor &accessor) |
| | Obtains a QuaternionAccessorType from the given Accessor on the given Model.
|
| |
| QuaternionAccessorType | getQuaternionAccessorView (const Model &model, int32_t accessorIndex) |
| | Obtains a QuaternionAccessorType from the given accessor index on the given Model.
|
| |
| ColorAccessorType | getColorAccessorView (const Model &model, const MeshPrimitive &primitive, int32_t colorSetIndex) |
| | Retrieves an accessor view for the specified color attribute from the given glTF primitive and model. This verifies that the accessor is of a valid type. If not, the returned accessor view will be invalid.
|
| |
| template<typename TCallback> |
| std::invoke_result_t< TCallback, AccessorView< AccessorTypes::SCALAR< float > > > | createAccessorView (const Model &model, const Accessor &accessor, TCallback &&callback) |
| | Creates an appropriate AccessorView for a given accessor.
|
| |
| template<typename TCallback> |
| std::invoke_result_t< TCallback, AccessorView< AccessorTypes::SCALAR< float > > > | createAccessorView (const Model &model, int32_t accessorIndex, TCallback &&callback) |
| | Creates an appropriate AccessorView for a given accessor.
|
| |
| template<typename T> |
| bool | operator== (const PropertyArrayView< T > &lhs, const PropertyArrayView< T > &rhs) |
| | Compares two PropertyArrayView instances by comparing their values. If the two arrays aren't the same size, this comparison will return false.
|
| |
| template<typename T> |
| bool | operator== (const PropertyArrayView< T > &lhs, const PropertyArrayCopy< T > &rhs) |
| | Compares a PropertyArrayView with a PropertyArrayCopy by creating a view from the copy and comparing the two.
|
| |
| template<typename T> |
| bool | operator== (const PropertyArrayCopy< T > &lhs, const PropertyArrayView< T > &rhs) |
| | Compares a PropertyArrayView with a PropertyArrayCopy by creating a view from the copy and comparing the two.
|
| |
| template<typename T> |
| bool | operator== (const PropertyArrayCopy< T > &lhs, const PropertyArrayCopy< T > &rhs) |
| | Compares two PropertyArrayCopy instances by creating views from each instance and comparing the two.
|
| |
| template<typename T> |
| bool | operator!= (const PropertyArrayView< T > &lhs, const PropertyArrayView< T > &rhs) |
| | Compares two PropertyArrayView instances and returns the inverse.
|
| |
| template<typename T> |
| bool | operator!= (const PropertyArrayView< T > &lhs, const PropertyArrayCopy< T > &rhs) |
| | Compares a PropertyArrayView with a PropertyArrayCopy by creating a view from the copy and returning the inverse of comparing the two.
|
| |
| template<typename T> |
| bool | operator!= (const PropertyArrayCopy< T > &lhs, const PropertyArrayView< T > &rhs) |
| | Compares a PropertyArrayView with a PropertyArrayCopy by creating a view from the copy and returning the inverse of comparing the two.
|
| |
| template<typename T> |
| bool | operator!= (const PropertyArrayCopy< T > &lhs, const PropertyArrayCopy< T > &rhs) |
| | Compares two PropertyArrayCopy instances by creating views from both instances and returning the inverse of comparing the two.
|
| |
| PropertyType | getAccessorTypeAsPropertyType (const Accessor &accessor) |
| | Attempts to obtain a PropertyType from the type field of the accessor.
|
| |
| PropertyComponentType | getAccessorComponentTypeAsPropertyComponentType (const Accessor &accessor) |
| | Attempts to obtain a PropertyComponentType from the componentType field of the accessor.
|
| |
|
int64_t | getOffsetTypeSize (PropertyComponentType offsetType) noexcept |
| | Returns the size in bytes of a PropertyComponentType used as the arrayOffsetType in the constructor of PropertyTablePropertyView.
|
| |
| template<typename ElementType> |
| ElementType | assembleScalarValue (const std::span< uint8_t > bytes) noexcept |
| | Attempts to obtain a scalar value from the given span of bytes.
|
| |
| template<typename ElementType> |
| ElementType | assembleVecNValue (const std::span< uint8_t > bytes) noexcept |
| | Attempts to obtain a vector value from the given span of bytes.
|
| |
| template<typename T> |
| PropertyArrayCopy< T > | assembleArrayValue (const std::span< uint8_t > bytes) noexcept |
| | Attempts to obtain an array value from the given span of bytes.
|
| |
| template<typename ElementType> |
| PropertyValueViewToCopy< ElementType > | assembleValueFromChannels (const std::span< uint8_t > bytes) noexcept |
| | Assembles the given type from the provided channel values of sampling a texture.
|
| |
| template<typename T> |
| double | normalize (T value) |
| | Normalizes the given value between [0, 1] if unsigned or [-1, 1] if signed, based on the type's maximum value.
|
| |
| template<glm::length_t N, typename T> |
| glm::vec< N, double > | normalize (glm::vec< N, T > value) |
| | Normalizes the given vector's components between [0, 1] if unsigned or [-1, 1] if signed, based on the type's maximum value.
|
| |
| template<glm::length_t N, typename T> |
| glm::mat< N, N, double > | normalize (glm::mat< N, N, T > value) |
| | Normalizes the given matrix's components between [0, 1] if unsigned or [-1, 1] if signed, based on the type's maximum value.
|
| |
| template<typename T> |
| T | applyScale (const T &value, const T &scale) |
| | Multiplies each component of the value by the given scale factor.
|
| |
| template<typename T> |
| T | transformValue (const T &value, const std::optional< T > &offset, const std::optional< T > &scale) |
| | Transforms the value by optional offset and scale factors.
|
| |
| template<typename T> |
| PropertyArrayCopy< T > | transformArray (const PropertyArrayView< T > &value, const std::optional< PropertyArrayView< T > > &offset, const std::optional< PropertyArrayView< T > > &scale) |
| | Transforms each element of an array of values by optional offset and scale factors. See transformValue.
|
| |
| template<typename T, typename NormalizedType = typename TypeToNormalizedType<T>::type> |
| PropertyArrayCopy< NormalizedType > | transformNormalizedArray (const PropertyArrayView< T > &value, const std::optional< PropertyArrayView< NormalizedType > > &offset, const std::optional< PropertyArrayView< NormalizedType > > &scale) |
| | Normalizes each element of an array of values and transforms them by optional offset and scale factors. See transformValue and transformArray.
|
| |
| template<glm::length_t N, typename T> |
| PropertyArrayCopy< glm::vec< N, double > > | transformNormalizedVecNArray (const PropertyArrayView< glm::vec< N, T > > &value, const std::optional< PropertyArrayView< glm::vec< N, double > > > &offset, const std::optional< PropertyArrayView< glm::vec< N, double > > > &scale) |
| | Normalizes each element of an array of vectors and transforms them by optional offset and scale factors. See transformNormalizedArray.
|
| |
| template<glm::length_t N, typename T> |
| PropertyArrayCopy< glm::mat< N, N, double > > | transformNormalizedMatNArray (const PropertyArrayView< glm::mat< N, N, T > > &value, const std::optional< PropertyArrayView< glm::mat< N, N, double > > > &offset, const std::optional< PropertyArrayView< glm::mat< N, N, double > > > &scale) |
| | Normalizes each element of an array of matrices and transforms them by optional offset and scale factors. See transformNormalizedArray.
|
| |
| std::string | convertPropertyTypeToString (PropertyType type) |
| | Converts a PropertyType value to a string.
|
| |
| PropertyType | convertStringToPropertyType (const std::string &str) |
| | Converts a string into a PropertyType.
|
| |
| PropertyType | convertAccessorTypeToPropertyType (const std::string &type) |
| | Converts a string type listed in AccessorSpec::Type to its corresponding PropertyType.
|
| |
| std::string | convertPropertyTypeToAccessorType (PropertyType type) |
| | Converts a PropertyType to a string type listed in AccessorSpec::Type.
|
| |
| std::string | convertPropertyComponentTypeToString (PropertyComponentType componentType) |
| | Converts a PropertyComponentType value to a string.
|
| |
| PropertyComponentType | convertStringToPropertyComponentType (const std::string &str) |
| | Converts a string into a PropertyComponentType.
|
| |
| PropertyComponentType | convertArrayOffsetTypeStringToPropertyComponentType (const std::string &str) |
| | Converts a string listed in PropertyTableProperty::ArrayOffsetType to its corresponding PropertyComponentType.
|
| |
| PropertyComponentType | convertStringOffsetTypeStringToPropertyComponentType (const std::string &str) |
| | Converts a string listed in PropertyTableProperty::StringOffsetType to its corresponding PropertyComponentType.
|
| |
| PropertyComponentType | convertAccessorComponentTypeToPropertyComponentType (int componentType) |
| | Converts a integer type ID listed in AccessorSpec::ComponentType to its corresponding PropertyComponentType.
|
| |
| int32_t | convertPropertyComponentTypeToAccessorComponentType (PropertyComponentType componentType) |
| | Converts a PropertyComponentType to an integer type ID listed in AccessorSpec::ComponentType.
|
| |
| bool | isPropertyTypeVecN (PropertyType type) |
| | Checks if the given PropertyType represents a vector with any number of components.
|
| |
| bool | isPropertyTypeMatN (PropertyType type) |
| | Checks if the given PropertyType represents a matrix with any number of components.
|
| |
| bool | isPropertyComponentTypeInteger (PropertyComponentType componentType) |
| | Checks if the given PropertyComponentType represents an integer value.
|
| |
| glm::length_t | getDimensionsFromPropertyType (PropertyType type) |
| | Obtains the number of dimensions in the given PropertyType.
|
| |
| glm::length_t | getComponentCountFromPropertyType (PropertyType type) |
| | Obtains the number of components in the given PropertyType.
|
| |
| size_t | getSizeOfComponentType (PropertyComponentType componentType) |
| | Obtains the size in bytes of a value of this PropertyComponentType.
|
| |
| template<typename T> |
| bool | canRepresentPropertyType (PropertyType type) |
| | Returns whether the type T can represent the given PropertyType.
|
| |
| template<typename T> |
| PropertyViewStatusType | validatePropertyType (const ClassProperty &classProperty, const CesiumGltf::Enum *pEnumDefinition=nullptr) |
| | Validates a ClassProperty representing a property, checking for any type mismatches.
|
| |
| template<typename T> |
| PropertyViewStatusType | validateArrayPropertyType (const ClassProperty &classProperty, const CesiumGltf::Enum *pEnumDefinition=nullptr) |
| | Validates a ClassProperty representing an array of values, checking for any type mismatches.
|
| |
| template<typename ElementType> |
| int64_t | getCount (std::optional< std::vector< std::byte > > &buffer) |
| | Obtains the number of values of type ElementType that could fit in the buffer.
|
| |
| double | applySamplerWrapS (const double u, const int32_t wrapS) |
| | Applies a sampler's WrapS value to the given U component of a texture coordinate.
|
| |
| double | applySamplerWrapT (const double v, const int32_t wrapT) |
| | Applies a sampler's WrapT value to the given V component of a texture coordinate.
|
| |