Expand description
Vello-based GPU renderer for the Smudge GUI library.
The renderer replays a display list on a GPU through vello, always redrawing the whole surface. It presents the same operations as the CPU renderer, so both backends can draw one display list interchangeably. Offset scopes in the display list move the operations and clips they wrap.
Re-exports§
pub use vello::wgpu;
Structs§
- Adapter
Summary - The adapter a GPU renderer draws on, as plain strings a report can carry.
- GpuRenderer
- A renderer that draws every frame on a GPU through vello.
- GpuSurface
- A GPU presenter that draws every frame onto a wgpu surface.
Enums§
- GpuError
- Something that stopped a
GpuSurfacefrom being created or from drawing a frame.