Class GltfBufferView
A view into a buffer generally representing a subset of the buffer. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/bufferView.schema.json
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GltfBufferView : GltfChildOfRootProperty
Fields
buffer
The index of the buffer.
Declaration
public int buffer
Field Value
Type | Description |
---|---|
Int32 |
byteLength
The length of the bufferView in bytes.
Declaration
public int byteLength
Field Value
Type | Description |
---|---|
Int32 |
byteOffset
The offset into the buffer in bytes.
Declaration
public int byteOffset
Field Value
Type | Description |
---|---|
Int32 |
byteStride
The stride, in bytes, between vertex attributes or other interleavable data.
When this is zero, data is tightly packed.
Declaration
public int byteStride
Field Value
Type | Description |
---|---|
Int32 |
target
The target that the WebGL buffer should be bound to. All valid values correspond to WebGL enums. When this is not provided, the bufferView contains animation or skin data.
Declaration
public GltfBufferViewTarget target
Field Value
Type | Description |
---|---|
GltfBufferViewTarget |
Properties
Buffer
Declaration
public GltfBuffer Buffer { get; }
Property Value
Type | Description |
---|---|
GltfBuffer |