A view into a buffer generally representing a subset of the buffer

interface IBufferView {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    name?: string;
    buffer: number;
    byteOffset?: number;
    byteLength: number;
    byteStride?: number;
    target?: number;
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

name?: string

The user-defined name of this object

buffer: number

The index of the buffer

byteOffset?: number

The offset into the buffer in bytes

byteLength: number

The lenth of the bufferView in bytes

byteStride?: number

The stride, in bytes

target?: number

The target that the GPU buffer should be bound to