SkinCacheConfig
Defined in: sdk/src/render/skinCache.ts:12
The compute skin cache: a compute pass that poses each skinned mesh once a frame, so the shadow, depth and colour passes all draw the posed vertices instead of each posing them again. A device without compute (WebGL2) poses in each draw’s vertex stage either way.
Properties
Section titled “Properties”behavior
Section titled “behavior”behavior:
"inclusive"|"exclusive"
Defined in: sdk/src/render/skinCache.ts:16
Which meshes it poses when their MeshSkin says Auto: every one (inclusive), or only those that say Enabled (exclusive).
enabled
Section titled “enabled”enabled:
boolean
Defined in: sdk/src/render/skinCache.ts:14
Off poses every skinned mesh in each draw’s vertex stage.
maxMegabytes
Section titled “maxMegabytes”maxMegabytes:
number
Defined in: sdk/src/render/skinCache.ts:18
The memory it may hold per world, in megabytes; a mesh that would take it past this is posed in the vertex stage.