rhodonite
    Preparing search index...

    Type Alias BufferLocation

    Location of a value inside the GPU data buffer.

    vec4Index is the global vec4 index the shader computes (or the base vec4 index for scalar-unaligned fetches). byteOffset is vec4Index * 16. row and col are the data-texture coordinates in WebGL2 and are -1 in WebGPU, which has no texture rows.

    type BufferLocation = {
        arrayElement?: number;
        bufferViewIndex: number;
        byteOffset: number;
        col: number;
        fetchFunction: string;
        row: number;
        scalarIndex?: number;
        vec4Index: number;
        vec4s: RawVec4[];
        warnings: string[];
    }
    Index
    arrayElement?: number
    bufferViewIndex: number
    byteOffset: number
    col: number
    fetchFunction: string
    row: number
    scalarIndex?: number
    vec4Index: number
    vec4s: RawVec4[]
    warnings: string[]