Documentation - v20.0.0-dev
    Preparing search index...

    What the last frame drew.

    interface RenderInfo {
        culled?: {
            occluded: number;
            outside: number;
            time: number;
            tiny: number;
        };
        drawCalls: number;
        edgeParts: number;
        parts: number;
        triangles: number;
    }
    Index

    Properties

    culled?: { occluded: number; outside: number; time: number; tiny: number }

    The last culling, absent without it: the parts it dropped, outside the view, too small, hidden, and its time in milliseconds, request to result. WebGL2 culls in workers, a BVH node at once (its parts counted, hidden ones included); WebGPU on the GPU within the frame, its counts read back.

    Type Declaration

    • occluded: number

      Behind the depth of an earlier frame.

    • outside: number

      Outside the view.

    • time: number

      Milliseconds, request to result.

    • tiny: number

      Too small on screen.

    drawCalls: number

    Draw calls.

    edgeParts: number

    Parts drawn with their edges (0 when they are hidden).

    parts: number

    Parts drawn.

    triangles: number

    Triangles drawn.