IFClite TypeScript API
    Preparing search index...

    Interface FrameStats

    Statistics for one rendered frame (the main render pass only).

    interface FrameStats {
        batchesAtLod1: number;
        batchesContributionCulled: number;
        batchesDrawn: number;
        batchesFrustumCulled: number;
        batchesFullDetail?: number;
        batchesNotResident: number;
        cpuMs: number;
        drawCalls: number;
        instancedContributionCulled: number;
        instancedDrawn: number;
        instancedFrustumCulled: number;
        stream?: StreamFrameStats;
        timestamp: number;
    }
    Index
    batchesAtLod1: number

    Batches drawn at their simplified LOD1 index range this frame.

    batchesContributionCulled: number

    Colour batches rejected by contribution (projected-size) culling.

    batchesDrawn: number

    Colour batches that passed all per-frame gates and were drawn.

    batchesFrustumCulled: number

    Colour batches rejected by the frustum test this frame.

    batchesFullDetail?: number

    Batches kept at full detail (never LOD1 or an HLOD proxy) because they hold a selected or hovered entity, whose highlight must tie with LOD0 (full-detail-batches.ts). A large selection raises it.

    batchesNotResident: number

    Visible batches skipped because their GPU buffers were evicted under the residency budget; a rebuild was requested and they draw again within a frame or two (issue #1682 phase 3a).

    cpuMs: number

    Main-thread milliseconds this frame spent preparing, encoding and submitting, excluding the wait inside getCurrentTexture() (swap-chain backpressure is GPU pacing, not encode cost). Input to the viewer's interaction throttle.

    drawCalls: number

    Geometry draw calls issued by the last main render pass: colour batches, partial/overlay sub-batches, instanced templates, textured meshes, transparent + selected meshes. Excludes the sky pass, section-plane overlays and the on-demand pick pass.

    instancedContributionCulled: number

    Instanced templates rejected by contribution culling: even the largest single occurrence, projected at the union box's nearest view depth, fell below the pixel threshold.

    instancedDrawn: number

    GPU-instanced templates drawn this frame (one draw call each).

    instancedFrustumCulled: number

    Instanced templates rejected by the frustum test (union world AABB).

    stream?: StreamFrameStats

    Draw stream: nodes culled/drawn, draws and triangles it submitted, bundles (re)recorded.

    timestamp: number

    performance.now() timestamp taken at the end of the render call.