Module scene

Source
Expand description

Scene graph and draw commands. Scene graph: draw commands, layered clips, and paint context.

Re-exports§

pub use clip_stack::ClipEntry;
pub use clip_stack::ClipStack;
pub use clip_stack::ClipStackSnapshot;
pub use dirty::DirtyFlags;
pub use draw_cmd::DrawBorder;
pub use draw_cmd::DrawBoxShadow;
pub use draw_cmd::DrawCmd;
pub use draw_cmd::DrawImage;
pub use draw_cmd::DrawPolyline;
pub use draw_cmd::DrawRRect;
pub use draw_cmd::DrawRect;
pub use draw_cmd::DrawRingProgress;
pub use draw_cmd::DrawText;
pub use isolated_effects::BlendMode;
pub use isolated_effects::IsolatedEffects;
pub use paint_ctx::PaintCtx;
pub use paint_ctx::Painter;
pub use paint_engine::paint_element;
pub use scene_graph::Layer;
pub use scene_graph::LayerKind;
pub use scene_graph::Scene;

Modules§

clip_stack
Clip stack implementation details. Ordered clip-stack state and snapshots used during scene construction.
dirty
Dirty implementation details. Paint-only dirtiness marker for scene work.
draw_cmd
Draw cmd implementation details. Renderer-neutral drawing commands emitted by retained views.
isolated_effects
Isolated effects implementation details. Per-layer isolated compositing effects (isolated compositor).
paint_ctx
Paint ctx implementation details. Mutable paint context for draw commands, clips, and isolated effects.
paint_engine
Paint engine implementation details. Retained-tree paint traversal and scene-graph construction.
scene_graph
Scene graph implementation details. Immutable renderer-facing scene graph produced by the paint engine.