gpu-curtains
    Preparing search index...

    Interface IndexedGeometryIndexBufferOptions

    Defines the available options to create an index buffer

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

    Hierarchy

    Index

    Properties

    bufferFormat?: GPUIndexFormat

    index buffer format

    array?: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>

    index buffer array

    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.