Expand description
Algorithms for rendering All is Cubes content using a GPU, via
the wgpu graphics library.
§Package features
This package defines the following feature flags:
"auto-threads": Enable use of threads for parallel and background processing, including viarayon’s global thread pool.
Re-exports§
pub use wgpu;
Modules§
- headless
- Implementation of
HeadlessRendererusingwgpu. - octree_
alloc
Structs§
- Block
Texture Info - Performance info about
Blocktexture management. - Frame
Budget - A plan for the maximum amount of time to use for each step of each frame of rendering.
- Render
Info - Performance info about drawing an entire scene.
- Space
Draw Info - Performance info about actually drawing a
Space(excluding data updates). - Space
Update Info - Performance info about copying
Spacedata into the renderer per-frame. - Surface
Renderer - Entry point for
wgpurendering. Construct this and hand it thewgpu::Surfaceto draw on. - Update
Info - Info about the “update” operation, where fresh scene information is gathered, processed (e.g. mesh generation), and copied to GPU memory.