Expand description
Common rendering contracts shared between renderer backends.
Modules§
- bounded_
lru_ cache - brush_
sampling - dev_
overlay - Renderer-drawn dev overlay (fps counter): one shared graph builder so every backend draws the identical overlay without composition impact.
- font_
layout - font_
source - Turning app-declared font families into parsed faces.
- geometry
- graph
- graph_
scene - hit_
graph - image_
compare - layer_
composition - layer_
shadow - layer_
transform - primitive_
emit - raster_
cache - render_
contract - scene_
builder - shape_
sdf - CPU mirror of the signed-distance functions in
shaders/shape.wgsl. - software_
text_ raster - style_
shared - text_
hyphenation - text_
measure - Shared CPU
TextMeasurerused by the software rasterizer backends (pixels, vulkan). Both backends draw text by rasterizing glyphs directly into a pixel buffer rather than through a GPU glyph atlas, so they share one font-backed measurer plus its fallback-metrics path for when no font is installed.
Enums§
Constants§
- FRAME_
CLEAR_ COLOR - The frame background every renderer clears to (linear values; sRGB surfaces display this as rgb(75, 75, 86)). One definition so backends cannot drift.
Traits§
- HitTest
Target - Trait implemented by hit-test targets stored inside a
RenderScene. - Render
Scene - Trait describing the minimal surface area required by the application shell to process pointer events and refresh the frame graph.
- Renderer
- Abstraction implemented by concrete renderer backends.