Represents a GLTF accessor.
GLTFAccessor is a data structure representing GLTF a [code]accessor[/code] that would be found in the [code]"accessors"[/code] array. A buffer is a blob of binary data. A buffer view is a slice of a buffer. An accessor is a typed interpretation of the data in a buffer view.
Most custom data stored in GLTF does not need accessors, only buffer views (see [GLTFBufferView]). Accessors are for more advanced use cases such as interleaved mesh data encoded for the GPU.
https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_005_BuffersBufferViewsAccessors.md
$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html
The GLTF accessor type as an enum. Possible values are 0 for "SCALAR", 1 for "VEC2", 2 for "VEC3", 3 for "VEC4", 4 for "MAT2", 5 for "MAT3", and 6 for "MAT4".
The index of the buffer view this accessor is referencing. If [code]-1[/code], this accessor is not referencing any buffer view.
The offset relative to the start of the buffer view in bytes.
The GLTF component type as an enum. Possible values are 5120 for "BYTE", 5121 for "UNSIGNED_BYTE", 5122 for "SHORT", 5123 for "UNSIGNED_SHORT", 5125 for "UNSIGNED_INT", and 5126 for "FLOAT". A value of 5125 or "UNSIGNED_INT" must not be used for any accessor that is not referenced by mesh.primitive.indices.
The number of elements referenced by this accessor.
Maximum value of each component in this accessor.
Minimum value of each component in this accessor.
Specifies whether integer data values are normalized before usage.
Number of deviating accessor values stored in the sparse array.
The index of the buffer view with sparse indices. The referenced buffer view MUST NOT have its target or byteStride properties defined. The buffer view and the optional byteOffset MUST be aligned to the componentType byte length.
The offset relative to the start of the buffer view in bytes.
The indices component data type as an enum. Possible values are 5121 for "UNSIGNED_BYTE", 5123 for "UNSIGNED_SHORT", and 5125 for "UNSIGNED_INT".
The index of the bufferView with sparse values. The referenced buffer view MUST NOT have its target or byteStride properties defined.
The offset relative to the start of the bufferView in bytes.
The GLTF accessor type as an enum. Use [member accessor_type] instead.