frust-engine 0.5.2

Sparse-strip GPU render pipeline for Frust: compiles a scene display list into strips and records the draw passes on wgpu.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Engine-side caches for GPU resources derived from a scene.
//!
//! Each cache turns a recurring, expensive-to-derive scene input into a bounded,
//! reusable GPU resource, and is maintained at the frame boundary rather than
//! mid-frame so handles handed out during encoding stay valid for that frame.

pub mod gradients;
pub mod images;

pub use gradients::{BYTES_PER_TEXEL, CachedRamp, GradientCache, GradientTextureLayout, LutUpload};
pub use images::{
    AtlasBudget, AtlasRegion, ImageResidency, ImageSkip, ImageUpload, MAX_UNSEEN_FRAMES,
    ResidentImage,
};