Skip to content

Documentation / scene / createGeometryCacheState

Function: createGeometryCacheState() ​

createGeometryCacheState(frame): GeometryCacheState

Defined in: libs/scene/src/animation/geometry_cache_utils.ts:58

Creates a reusable geometry cache state buffer for a frame layout.

Parameters ​

frame ​

Pick<GeometryCacheFrame, "positions" | "normals">

Returns ​

GeometryCacheState

Released under the MIT License.