Documentation
    Preparing search index...

    Interface GpuVertexBufferLayout

    One buffer's vertex layout inside a pipeline descriptor.

    interface GpuVertexBufferLayout {
        arrayStride: number;
        attributes: readonly {
            format: string;
            offset: number;
            shaderLocation: number;
        }[];
        stepMode?: "vertex"
        | "instance";
    }
    Index
    arrayStride: number

    Distance between consecutive elements, in bytes.

    attributes: readonly { format: string; offset: number; shaderLocation: number }[]

    The attributes read out of this buffer.

    stepMode?: "vertex" | "instance"

    "vertex", or "instance" for §36's particle stream (WP-R1.8).