TextureStreaming
Defined in: sdk/src/render/textureStreaming.ts:133
What streaming is doing, for a profiler and a check.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TextureStreaming():
TextureStreaming
Returns
Section titled “Returns”TextureStreaming
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean=false
Defined in: sdk/src/render/textureStreaming.ts:144
failures
Section titled “failures”failures:
number=0
Defined in: sdk/src/render/textureStreaming.ts:142
readonlyheld:Set<number>
Defined in: sdk/src/render/textureStreaming.ts:136
Textures something other than a mesh draws, left at their size.
inFlight
Section titled “inFlight”inFlight:
number=0
Defined in: sdk/src/render/textureStreaming.ts:143
moves:
number=0
Defined in: sdk/src/render/textureStreaming.ts:141
refused
Section titled “refused”
readonlyrefused:Set<number>
Defined in: sdk/src/render/textureStreaming.ts:138
Textures that came back larger than asked (a host that cannot cut a file at a level): left alone from then on.
restoring
Section titled “restoring”
readonlyrestoring:Set<number>
Defined in: sdk/src/render/textureStreaming.ts:140
Textures being put back at their size because something other than a mesh draws them.
textures
Section titled “textures”
readonlytextures:Map<number,StreamedTexture>
Defined in: sdk/src/render/textureStreaming.ts:134
Methods
Section titled “Methods”bytes()
Section titled “bytes()”bytes():
object
Defined in: sdk/src/render/textureStreaming.ts:147
The bytes the streamed textures take now, and would at their files’ sizes.
Returns
Section titled “Returns”object
full:
number
now:
number