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

    Interface LazyPartState

    A deferred part's activation state (B4). requested is set when the per-frame gate asked the loader for a pass to activate it (a pending resync), running while that pass's activation is in flight; both clear when the pass declines it, so a part still wanted is asked for again. A request no pass has reached within config.lod.lazyActivationRequestTimeoutMs (the resync was rejected, or superseded by a pass targeting other parts) expires, and a one-shot wake at expiry lets a parked camera ask again (#2944).

    interface LazyPartState {
        requested: boolean;
        requestedAtMs: number;
        running: Promise<void> | null;
        claims: (true | AbortSignal)[];
        failed: boolean;
    }
    Index
    requested: boolean
    requestedAtMs: number

    Registry clock (frame.nowMs) of the outstanding request.

    running: Promise<void> | null

    The in-flight activation, if one is running.

    claims: (true | AbortSignal)[]

    The loader passes awaiting the running activation, each of which sweeps the part's loaders itself once it settles (see LODGroupRegistry.activatePartitionParts); true is a claim that cannot be withdrawn. A claim only counts while its pass is alive: a superseded pass commits nothing, so an activation settling with no live claim resyncs the part itself. Empty ⇒ started ahead of any pass (prefetchSlice).

    failed: boolean

    The last activation rejected (its leaves recorded a retryable failure): the per-frame gate does not ask again until a Retry re-arms it (LODGroupRegistry.retryLazyChildByNodePath).