GltfComponentType Enum

Definition

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/accessor.schema.json:componentType

The datatype of components in the attribute. All valid values correspond to WebGL enums. The corresponding typed arrays are 'Int8Array', 'Uint8Array', 'Int16Array', 'Uint16Array', 'Uint32Array', and 'Float32Array', respectively. 5125 (UNSIGNED_INT) is only allowed when the accessor contains indices, i.e., the accessor is only referenced by 'primitive.indices'.
public enum class GltfComponentType
public enum GltfComponentType
type GltfComponentType = 
Public Enum GltfComponentType
Inheritance
GltfComponentType

Fields

Byte 5120
Float 5126
Short 5122
UnsignedByte 5121
UnsignedInt 5125
UnsignedShort 5123

Applies to