You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The accessor describes the data that is stored in the buffer as viewed using the referenced accessor.bufferView. The accessor.type of the accessor indicates if the data element is a scalar, a vector, or a matrix. Depending on the type, each data element will have one or more components. The accessor.componentType describes the data type of that component.
Currently, gltf 2.0 supports the following component types:
5120 BYTE
5121 UNSIGNED_BYTE
5122 SHORT
5123 UNSIGNED_SHORT
5125 UNSIGNED_INT
5126 FLOAT
These types are consistent with the types used in OpenGL. However, when dealing with audio data, at least the following types are missing:
S32 or SIGNED_INT: a 4 byte signed integer
DBL or DOUBLE: an 8 byte signed double-precision floating point number
These data types are not used frequently, which reduces the severity of the problem. However, the type is used in audio formats, including PCM audio. One way to address this shortcoming is to liaise with the Khronos 3D Formats group to request that they add these component types. Alternatively, the new component types may be registered by the MPEG-I Scene Description standard in 23090-14.
The text was updated successfully, but these errors were encountered:
The accessor describes the data that is stored in the buffer as viewed using the referenced accessor.bufferView. The accessor.type of the accessor indicates if the data element is a scalar, a vector, or a matrix. Depending on the type, each data element will have one or more components. The accessor.componentType describes the data type of that component.
Currently, gltf 2.0 supports the following component types:
These types are consistent with the types used in OpenGL. However, when dealing with audio data, at least the following types are missing:
These data types are not used frequently, which reduces the severity of the problem. However, the type is used in audio formats, including PCM audio. One way to address this shortcoming is to liaise with the Khronos 3D Formats group to request that they add these component types. Alternatively, the new component types may be registered by the MPEG-I Scene Description standard in 23090-14.
The text was updated successfully, but these errors were encountered: