gpu-curtains
    Preparing search index...

    Defines an index buffer

    interface IndexBuffer {
        bufferFormat: GPUIndexFormat;
        array: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
        bufferLength: number;
        arrayBuffer?: ArrayBuffer;
        buffer: Buffer;
        bufferOffset: number;
        bufferSize: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    bufferFormat: GPUIndexFormat

    index buffer format

    array: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>

    index buffer array

    bufferLength: number

    index buffer length

    arrayBuffer?: ArrayBuffer

    VertexBuffer data ArrayBuffer to be used by the GPUBuffer.

    buffer: Buffer
    bufferOffset: number

    Number representing the offset at which the data begins in the GPUBuffer.

    bufferSize: number

    Size in bytes of the data contained in the GPUBuffer.