Skip to main content

Type Alias: ScenegraphGPUAnimationOptions

ScenegraphGPUAnimationOptions = object

Defined in: modules/engine/src/api/animation/scenegraph-gpu-animation-layout.ts:8

Optional one-time animation baking followed by GPU vertex-stage sampling.

Properties​

enabled?​

optional enabled?: boolean

Defined in: modules/engine/src/api/animation/scenegraph-gpu-animation-layout.ts:10

Enables GPU sampling without changing the established CPU-animation default.


maxBytes?​

optional maxBytes?: number

Defined in: modules/engine/src/api/animation/scenegraph-gpu-animation-layout.ts:16

Maximum estimated GPU atlas bytes across primitives. Defaults to 64 MiB.


maxFrames?​

optional maxFrames?: number

Defined in: modules/engine/src/api/animation/scenegraph-gpu-animation-layout.ts:14

Maximum combined baked frames before gracefully retaining CPU animation. Defaults to 8192.


sampleRate?​

optional sampleRate?: number

Defined in: modules/engine/src/api/animation/scenegraph-gpu-animation-layout.ts:12

Number of baked poses per second. Defaults to 30.