Crate iced_graphics

source ·
Expand description

A bunch of backend-agnostic types that can be leveraged to build a renderer for iced.

The native path of the Iced ecosystem

Re-exports

  • pub use cache::Cache;
  • pub use compositor::Compositor;
  • pub use error::Error;
  • pub use gradient::Gradient;
  • pub use image::Image;
  • pub use layer::Layer;
  • pub use mesh::Mesh;
  • pub use text::Text;
  • pub use iced_core as core;
  • pub use iced_futures as futures;

Modules

  • Cache computations and efficiently reuse them.
  • Manage colors for shaders.
  • A compositor is responsible for initializing a renderer and managing window surfaces.
  • Compute the damage between frames.
  • See what can go wrong when creating graphical backends.
  • geometrygeometry
    Build and draw geometry.
  • A gradient that can be used as a fill for some geometry.
  • Load and operate on images.
  • Draw and stack layers of graphical primitives.
  • Draw triangles!
  • Draw text.

Structs

  • The settings of a renderer.
  • A viewing region for displaying computer graphics.

Enums