Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface NodeDensityState

    Live projected-density state of one drawable node, as measured by the density guard (scene/projected-density.ts). Distinct from the LOD chip: that one says how much of the node is RESIDENT, this one says how much of the resident data the shader actually DRAWS this frame. Pure observability.

    interface NodeDensityState {
        keep: number;
        elementsPerPixel: number;
        blendable: boolean;
        onScreen: boolean;
    }
    Index
    keep: number

    Fraction of the resident elements drawn (1 = all; 1/2, 1/4, … when thinned).

    elementsPerPixel: number

    Resident elements per drawing-buffer pixel of the node's projected footprint (0 off-screen).

    blendable: boolean

    Whether the node's blend mode sums energy — only such nodes are ever thinned.

    onScreen: boolean