Documentation / scene / ensureGeometryCacheMeshBinding
Function: ensureGeometryCacheMeshBinding()
ensureGeometryCacheMeshBinding(
meshBindings,mesh,state,errorPrefix):GeometryCacheMeshBinding
Defined in: libs/scene/src/animation/geometry_cache_utils.ts:93
Ensures the target mesh has GPU buffers compatible with the geometry cache state.
Parameters
meshBindings
WeakMap<Mesh, GeometryCacheMeshBinding>
mesh
state
errorPrefix
string