Expand description
Rendering contracts: the renderer of a visual tree and the presentation source that hosts one.
Modules§
- composition
- The composition renderer.
- scene_
graph - Scene graph primitives shared by the drawing contexts and the render data.
- utilities
- Rendering helpers shared by the rendering backends.
Structs§
- Default
Render Loop - Default implementation of the application render loop.
- Default
Render Timer - Defines a default render timer that uses a standard timer.
- Immediate
Renderer - Renders a visual tree directly to a drawing context, without the compositor. Used for rendering visuals to bitmaps and visual brushes.
- Layout
Pass Timing - Represents a single layout pass timing.
- Managed
HitTester - A hit tester that walks the visual tree directly.
- Owned
Disposable - A disposable value that is only disposed with its holder when the holder owns it.
- Platform
Render Interface Context Manager - Owns the backend render context of a renderer and recreates it (together with the graphics context it is bound to) when it is lost.
- Render
Loop - Provides factory methods for creating
IRenderLoopinstances. - Renderer
Debug Overlays - Represents the various types of overlays that can be drawn by a renderer.
- Renderer
Diagnostics - Manages configurable diagnostics that can be displayed by a renderer.
- Scene
Invalidated Event Args - Provides data for the scene invalidated event of a renderer.
- Sleep
Loop Render Timer - A render timer that ticks on a thread of its own, sleeping between the ticks.
- Swapchain
Base - A helper class for composition-backed swapchains, should not be a public API yet.
- Thread
Proxy Render Timer - A render timer that moves the ticks of another timer to a dedicated thread.
- UiThread
Render Timer - Render timer that ticks on UI thread. Useful for debugging or bootstrapping on new platforms.
- ZIndex
Comparer - Orders visuals by their Z index.
Enums§
- Swapchain
Image Present Status - The state of the last presentation of a swapchain image.
Traits§
- Default
Render Timer Impl - The overridable members of
DefaultRenderTimer. - ICustom
HitTest - An interface to allow non-templated controls to customize their hit testing when using a renderer with a simple hit-testing algorithm, where just the bounds or geometries are hit-tested.
- IHit
Tester - An interface to allow hit testing of a visual tree.
- IPresentation
Source - The host of a visual tree: connects the tree to its renderer, layout root and input root.
- IRender
Loop - The application render loop.
- IRender
Loop Task - A task polled by the render loop on each tick.
- IRender
Timer - Defines the interface implemented by an application render timer.
- IRenderer
- Defines the interface for a renderer.
- ISwapchain
Image - An image of a composition-backed swapchain.
- Owned
Disposable Value - A value that
OwnedDisposablecan dispose. - Swapchain
Image Factory - The image factory of a swapchain: the member a concrete swapchain has to provide.
Type Aliases§
- Render
Timer Subscription - The running timer returned by
DefaultRenderTimerImpl::start_core; disposing it stops the ticks. It is shared between threads, unlike theRc-based disposables of the object model. - Render
Timer Tick - The callback of an
IRenderTimer. The argument is the timestamp of the tick on the timer’s monotonic clock.