logo
Expand description

A wgpu renderer for iced_native.

The native path of the Iced ecosystem

For now, it is the default renderer of Iced in native platforms.

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 wgpu_glyph. No shaping at all.
  • 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 wgpu;
pub use settings::Settings;

Modules

Configure a renderer.

Draw meshes of triangles.

Display rendering results on windows.

Structs

A wgpu graphics backend for iced.

A color in the sRGB color space.

A viewing region for displaying computer graphics.

Enums

An antialiasing strategy.

A graphical error that occurred while running an application.

A rendering primitive.

Type Definitions

A wgpu graphics renderer for iced.