IFClite TypeScript API
    Preparing search index...

    Interface DrawStreamConfig

    Configuration of the flat-batch draw stream (draw-stream.ts): the stream itself, its render bundles, shared geometry arenas, far-field HLOD proxies and the entity -> batch highlight index. Everything is off by default; the host passes a resolved config to Renderer.setDrawStreamConfig before geometry streams in (the arena needs COPY_SRC on batch buffers at upload).

    interface DrawStreamConfig {
        arena: boolean;
        budgetMs: number;
        bundles: boolean;
        hlIndex: boolean;
        hlod: boolean;
        hlodGrid: number;
        hlodPx: number;
        nodeCell: number;
        settleMs: number;
        stream: boolean;
    }
    Index
    arena: boolean

    Copy stream batches into shared vertex/index arenas so draws differ only in offsets.

    budgetMs: number

    Target frame ms while the camera moves (0 = off): draws largest-first under an adaptive draw budget.

    bundles: boolean

    Replay per-node render bundles (default on with the stream); off = direct draws.

    hlIndex: boolean

    Entity -> batch reverse index for selection/hover highlight resync (batch-highlight.ts).

    hlod: boolean

    Far-field HLOD proxies over the chunk cells.

    hlodGrid: number

    Proxy grid resolution per node edge.

    hlodPx: number

    A proxy whose simplification error projects below this many CSS px replaces its subtree.

    nodeCell: number

    Node cell edge in metres (0 = the scene's chunk cell size).

    settleMs: number

    The batch set must hold this long (ms) before the stream engages; streaming loads stay on the loop.

    stream: boolean

    Draw plain opaque whole batches through the stream instead of the per-batch loop.