Creates a controller for one view and target SceneModel.
ReadonlychunkReferences-only chunk manifests controlled by this instance.
ReadonlyloadedIDs of asset-library chunks already loaded.
ReadonlyloadedIDs of references-only chunks already loaded.
ReadonlyloadedAggregate object/mesh counts currently resident through this controller.
ReadonlyloadingIDs of chunks currently being committed.
ReadonlyqueueQueue progress for the latest scheduled generation.
Current scheduling generation. Incremented each time schedule is called.
True while streaming is paused. A paused controller ignores new schedule requests and stops committing additional chunks between chunk loads.
Pauses view-driven streaming and aborts queued, not-yet-active chunk fetches. The currently committing chunk, if any, is allowed to finish.
Prefetches XGF bytes for the supplied references-only chunk manifests.
Prefetches asset-library dependencies for the supplied chunk manifests.
Starts prefetching high-priority chunks and their dependencies without committing them to the SceneModel yet.
Returns chunk manifests sorted by the current view-priority heuristic.
Resumes view-driven streaming and schedules a pass for the current view.
Schedules a debounced streaming pass for the current camera/frustum state.
Unloads all resident streamed chunks from the SceneModel and resets scheduling for the current view.
This does not pause streaming. Chunks already in the middle of a commit are allowed to finish, queued prefetches are dropped, and a fresh scheduling pass is requested unless the controller was already paused.
Aborts queued loads for chunks outside the current camera frustum and unloads resident references-only chunks that are no longer visible.
Asset-library chunks are retained because visible chunks may still share them. Chunks already in the middle of a commit are skipped and can be removed by calling this again after they finish.
Checks the optional backpressure gate and pauses or resumes as needed.
Returns true when the controller state changed. External callers can use this from render or timer callbacks to resume a backpressure pause after the renderer backlog has drained.
View-driven controller that prioritizes XGF stream chunk loading.
The controller selects references-only chunks from an XGFStreamingIndex, prioritizes chunks intersecting the current camera frustum, and schedules fetch/commit work through XGFStreamingLoader.