Enum BufferAccessStatus
Outcome of a buffer data request on an IGltfBufferData.
Namespace: Unity.Cloud.Gltfast
Assembly: Unity.Cloud.Gltfast.dll
Syntax
public enum BufferAccessStatus
Fields
| Name | Description |
|---|---|
| BufferUnavailable | The buffer's memory is not available. Either the lease was disposed, or the glTF import it belongs to released its buffers. |
| DataIndexOutOfRange | The requested offset + length exceeds the capacity of the accessor or bufferView or buffer. |
| ObjectIndexOutOfRange | There is no buffer view or accessor at the requested index, or the one there references a buffer that does not exist. |
| SparseUnsupported | The accessor is sparse. Sparse accessor data is not provided by this API. |
| StridedUnsupported | The accessor's data is interleaved, because its buffer view declares a byte stride that differs from the element size. Only tightly packed data can be provided as a plain array; request interleaved data via GetStridedAccessorData<T>(int, out ReadOnlyNativeStridedArray<T>) instead. |
| Success | The requested data was provided. |
| TypeMismatch | The requested element type does not match the accessor's component type and accessor type combination. |