rhodonite
    Preparing search index...

    Type Alias BufferLayoutSource

    Source of the data texture layout. readVec4 and readScalar read the CPU-side GPUInstanceData buffers, which are the same bytes that are uploaded to the texture.

    type BufferLayoutSource = {
        readScalar: (scalarIndex: number) => number | null;
        readVec4: (vec4Index: number) => RawVec4 | null;
        width: number;
    }
    Index
    readScalar: (scalarIndex: number) => number | null
    readVec4: (vec4Index: number) => RawVec4 | null
    width: number