Skip to content

@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 ​

PropertyTypeDescriptionDefined in
maxConcurrentLoadsnumberStreamed models loading at once at most. Others wait, nearest first.streaming/StreamingSystem.ts:32
memoryBudgetMBnumberMegabytes 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
checkIntervalnumberSeconds between distance checks.streaming/StreamingSystem.ts:40