Crate cosmic::iced_winit::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

Modules§

  • Cache computations and efficiently reuse them.
  • Manage colors for shaders.
  • A compositor is responsible for initializing a renderer and managing window surfaces.
  • The core library of Iced.
  • Compute the damage between frames.
  • See what can go wrong when creating graphical backends.
  • Asynchronous tasks for GUI programming, inspired by Elm.
  • 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§

  • A simple cache that stores generated values to avoid recomputation.
  • The settings of a renderer.
  • A viewing region for displaying computer graphics.

Enums§

  • An antialiasing strategy.
  • An error that occurred while creating an application’s graphical context.
  • A fill which linearly interpolates colors along a direction.
  • A raster or vector image.
  • A low-level primitive to render a mesh of triangles.
  • A text primitive.

Traits§

  • A graphics compositor that can draw to windows.
  • A layer of graphical primitives.