Class BufferViewBase
A view into a buffer generally representing a subset of the buffer.
Implements
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public abstract class BufferViewBase : NamedObject, IBufferView
Fields
buffer
The index of the buffer.
Declaration
public int buffer
Field Value
Type | Description |
---|---|
int |
byteLength
The length of the bufferView in bytes.
Declaration
public int byteLength
Field Value
Type | Description |
---|---|
int |
byteOffset
The offset into the buffer in bytes.
Declaration
public int byteOffset
Field Value
Type | Description |
---|---|
int |
byteStride
The stride, in bytes, between vertex attributes or other interleaved data. When this is zero, data is tightly packed.
Declaration
public int byteStride
Field Value
Type | Description |
---|---|
int |
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 int target
Field Value
Type | Description |
---|---|
int |
Properties
Buffer
The index of the buffer.
Declaration
public int Buffer { get; }
Property Value
Type | Description |
---|---|
int |
ByteLength
The length of the bufferView in bytes.
Declaration
public int ByteLength { get; }
Property Value
Type | Description |
---|---|
int |
ByteOffset
The offset into the buffer in bytes.
Declaration
public int ByteOffset { get; }
Property Value
Type | Description |
---|---|
int |
Extensions
BufferView extensions
Declaration
public abstract BufferViewExtensions Extensions { get; }
Property Value
Type | Description |
---|---|
BufferViewExtensions |