@pixi/3d
    Preparing search index...

    Interface GraphDebugDrawSnapshotAdvanced

    One retained draw command within a batch pass

    interface GraphDebugDrawSnapshot {
        baseVertex: number;
        batchKey: number;
        drawnInstanceCount: number | null;
        drawnInstanceCountStatus: "cpu-mirror" | "exact" | "gpu-readback-required";
        drawnTriangleCount: number | null;
        firstIndex: number;
        firstInstance: number;
        form: "direct" | "merged" | "no-material";
        geometryIds: number[];
        index: number;
        indexCount: number;
        materialIds: number[];
        renderGeometryId: number | null;
        sourceInstanceCount: number;
        sourceMeshIds: number[];
        sourceTriangleCount: number | null;
        textureIds: number[];
        topology: string;
    }
    Index
    baseVertex: number

    Vertex offset added to each index

    batchKey: number

    The batch key every instance of the command shares: its pipeline id times 2^32 plus its geometry uid

    drawnInstanceCount: number | null

    Surviving instances when CPU-visible; null when the count only exists in a GPU-written buffer

    drawnInstanceCountStatus: "cpu-mirror" | "exact" | "gpu-readback-required"

    How drawnInstanceCount was obtained: an exact CPU count, a CPU rerun of the GPU cull, or not at all without a GPU readback

    drawnTriangleCount: number | null

    Triangles actually drawn; null for non-triangle topologies or when the drawn instance count is unknown

    firstIndex: number

    Offset into the index buffer

    firstInstance: number

    First instance slot covered by the command

    form: "direct" | "merged" | "no-material"

    How the command binds materials: 'direct' binds one material's own group, 'merged' one group for every material of a texture set, each instance reading its own row, and 'no-material' none, for a pass with a shader of its own

    geometryIds: number[]

    Uids of the distinct geometries behind the command

    index: number

    Position within the pass's command list

    indexCount: number

    Indices drawn per instance

    materialIds: number[]

    Uids of the distinct materials behind the command

    renderGeometryId: number | null

    Uid of the shared render geometry the command binds; null when it has none

    sourceInstanceCount: number

    Original instances assigned to this command by the batcher

    sourceMeshIds: number[]

    Meshes covered by the command's original instance range, before culling compacts survivors

    sourceTriangleCount: number | null

    Triangles the command would draw with no culling; null for non-triangle topologies

    textureIds: number[]

    Ids of the distinct textures sampled by the command

    topology: string

    Primitive topology of the command