Skip to main content

Module streaming

Module streaming 

Source
Expand description

Asset-streaming policy core.

Pure decision logic: given each streamable item’s priority score (camera distance), a per-frame load budget, and a cap on how many items may be resident at once, this decides which items to load and which to evict. It performs no I/O, spawns no threads, and touches no backend.

The std-side half – the background fetch thread, the channels, and the GPU upload – lives in concinnity-engine’s app::texture_stream. Keep that boundary: no thread, file, or clock belongs in this file.

Structs§

StreamPlan
The load / evict decisions produced by one StreamPlanner::plan call.
StreamPlanner
Decides what to stream in and out of a fixed-size residency pool.

Enums§

StreamState
Residency state of a single streamable item.