Expand description
Rendering abstraction layer for the Floem UI framework.
This crate defines the Renderer trait that all Floem rendering backends must
implement, along with supporting types for passing images and SVGs to the renderer.
Floem ships with three backend implementations:
- Vello (
floem_vello_renderer) — GPU-accelerated renderer using the Vello scene graph (default). - Skia (
floem_skia_renderer) — GPU-accelerated renderer using AnyRender’s Skia backend. - Vger (
floem_vger_renderer) — GPU-accelerated renderer using the Vger library. - tiny-skia (
floem_tiny_skia_renderer) — CPU software renderer using tiny-skia.
§Modules
text— Text layout, shaping, and font management built on Parley.gpu_resources— Asynchronous wgpu adapter/device acquisition for GPU backends.
§Re-exports
[tiny_skia] and [usvg] are re-exported from resvg so that
renderer backends and downstream crates can use consistent versions of these libraries
without adding them as direct dependencies.
Re-exports§
pub use resvg::tiny_skia;pub use resvg::usvg;
Modules§
- gpu_
resources - Asynchronous GPU resource acquisition for rendering with wgpu.
- text
- Text layout, shaping, and font management for Floem.
Structs§
- Img
- A raster image paired with a cache key.
- Svg
- A reference to a parsed SVG tree paired with a cache key.
Traits§
- Renderer
- The core rendering trait that every Floem backend must implement.