Crate glyphon

source ·
Expand description

Glyphon provides a simple way to render 2D text with wgpu, cosmic-text and etagere.

Re-exports§

Structs§

  • A cache to share common resources (e.g., pipelines, layouts, shaders) between multiple text renderers.
  • A custom glyph to render
  • A request to rasterize a custom glyph
  • A rasterized custom glyph
  • The screen resolution to use when rendering text.
  • A text area containing text to be rendered along with its overflow behavior.
  • An atlas containing a cache of rasterized glyphs that can be rendered.
  • Controls the visible area of the text. Any text outside of the visible area will be clipped.
  • A text renderer that uses cached glyphs to render text into an existing render pass.
  • Controls the visible area of all text for a given renderer. Any text outside of the visible area will be clipped.

Enums§

Type Aliases§