Skip to main content

animato_gpu/
lib.rs

1//! # animato-gpu
2//!
3//! Batched `Tween<f32>` evaluation for very large animation sets.
4//!
5//! `GpuAnimationBatch` uses a wgpu compute shader for supported classic easing
6//! variants when a device is available. The deterministic CPU backend is always
7//! available and is used automatically when a device cannot be created or a
8//! tween uses an easing that the WGSL shader does not support yet.
9
10#![deny(missing_docs)]
11#![deny(missing_debug_implementations)]
12
13mod batch;
14
15pub use batch::{GpuAnimationBatch, GpuBackend, GpuBatchError};