@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / StreamingSettings
Type Alias: StreamingSettings ​
ts
type StreamingSettings = {
maxConcurrentLoads: number;
memoryBudgetMB: number;
checkInterval: number;
};Defined in: streaming/StreamingSystem.ts:30
World-wide streaming settings. Scripts change them through world.streaming.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
maxConcurrentLoads | number | Streamed models loading at once at most. Others wait, nearest first. | streaming/StreamingSystem.ts:32 |
memoryBudgetMB | number | Megabytes of GPU memory streamed content may hold (geometry and textures, estimated). Over it, the furthest regions past their load distance are freed early. 0: no budget. | streaming/StreamingSystem.ts:38 |
checkInterval | number | Seconds between distance checks. | streaming/StreamingSystem.ts:40 |

