Crate iced_wgpu

Source
Expand description

A wgpu renderer for Iced.

The native path of the Iced ecosystem

wgpu supports most modern graphics backends: Vulkan, Metal, DX11, and DX12 (OpenGL and WebGL are still WIP). Additionally, it will support the incoming WebGPU API.

Currently, iced_wgpu supports the following primitives:

  • Text, which is rendered using glyphon.
  • Quads or rectangles, with rounded borders and a solid background color.
  • Clip areas, useful to implement scrollables or hide overflowing content.
  • Images and SVG, loaded from memory or the file system.
  • Meshes of triangles, useful to draw geometry freely.

Re-exports§

pub use layer::Layer;
pub use primitive::Primitive;
pub use settings::Settings;
pub use geometry::Geometry;geometry
pub use iced_graphics as graphics;
pub use iced_graphics::core;
pub use wgpu;

Modules§

geometrygeometry
Build and draw geometry.
layer
primitive
Draw custom primitives.
settings
Configure a renderer.
window
Display rendering results on windows.

Structs§

Engine
Renderer
A wgpu graphics renderer for iced.