Skip to main content

Crate animato_gpu

Crate animato_gpu 

Source
Expand description

§animato-gpu

Batched Tween<f32> evaluation for very large animation sets.

GpuAnimationBatch uses a wgpu compute shader for supported classic easing variants when a device is available. The deterministic CPU backend is always available and is used automatically when a device cannot be created or a tween uses an easing that the WGSL shader does not support yet.

Structs§

GpuAnimationBatch
Batch of Tween<f32> values evaluated together.

Enums§

GpuBackend
The backend currently used by a GpuAnimationBatch.
GpuBatchError
Error returned by GPU initialization.