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

    Module rendering/picking/picking-system/settle-scheduler

    Two-axis settle scheduler for PickingSystem.

    Owns the RAF lifecycle and the mouse/dirty timestamps that drive picking. The orchestrator builds a narrow SettleSchedulerCtx (no this back-pointer) and lets the scheduler decide when to actually invoke firePick. The decision policy itself is the pure function evaluateSettle() in ./settle-loop.

    The split keeps three concerns separate and unit-testable:

    • settle-loop.ts pure decision (when to fire, given timestamps).
    • settle-scheduler.ts rAF lifecycle + timestamp ownership.
    • picking-system.ts GPU pipeline + registration coordination.
    SettleScheduler
    SettleSchedulerCtx