Crate all_is_cubes_gpu
source ·Expand description
Algorithms for rendering All is Cubes content using a GPU, via
the wgpu
graphics library.
This library used to support multiple GPU interface libraries, hence the common vs. specific module layout.
Re-exports§
pub use wgpu;
Modules§
- Rendering via the
wgpu
WebGPU-in-Rust graphics library.
Structs§
- Wrapper to implement
all_is_cubes::time::Instant
forweb_time::Instant
. - Performance info about
Block
texture management. - A plan for the maximum amount of time to use for each step of each frame of rendering.
- Performance info about drawing an entire scene.
- Performance info about actually drawing a
Space
(excluding data updates). - Performance info about copying
Space
data into the renderer per-frame. - Info about the “update” operation, where fresh scene information is gathered, processed (e.g. mesh generation), and copied to GPU memory.