Summary
A renderer which renders the state of the visual tree without an intermediate scene graph
representation.
- Namespace
- Avalonia
.Rendering - Interfaces
-
- IRenderer
- IDisposable
- IVisualBrushRenderer
- Base Types
-
- object
- RendererBase
graph BT
Type-->Base0["RendererBase"]
click Base0 "/api/Avalonia.Rendering/RendererBase"
Base0-->Base1["object"]
Type-.->Interface0["IRenderer"]
click Interface0 "/api/Avalonia.Rendering/IRenderer"
Type-.->Interface1["IDisposable"]
Type-.->Interface2["IVisualBrushRenderer"]
click Interface2 "/api/Avalonia.Rendering/IVisualBrushRenderer"
Type["ImmediateRenderer"]
class Type type-node
Syntax
public class ImmediateRenderer : RendererBase, IRenderer, IDisposable, IVisualBrushRenderer
Remarks
The immediate renderer supports only clip-bound-based hit testing; a control's geometry is
not taken into account.
Constructors
Name | Summary |
---|---|
ImmediateRenderer |
Initializes a new instance of the ImmediateRenderer class.
|
Events
Name | Type | Summary |
---|---|---|
SceneInvalidated | EventHandler |
Raised when a portion of the scene has been invalidated.
|
Properties
Name | Value | Summary |
---|---|---|
DrawDirtyRects | bool |
Gets or sets a value indicating whether the renderer should draw a visual representation
of its dirty rectangles.
|
DrawFps | bool |
Gets or sets a value indicating whether the renderer should draw an FPS counter.
|
Methods
Name | Value | Summary |
---|---|---|
AddDirty |
void |
Mark a visual as dirty and needing re-rendering.
|
Dispose |
void |
Ends the operation of the renderer.
|
FpsTick |
void |
Inherited from RendererBase
|
HitTest |
IEnumerable |
Hit tests a location to find the visuals at the specified point.
|
HitTestFirst |
IVisual | |
Paint |
void |
Called when a paint notification is received by the control being rendered.
|
RecalculateChildren |
void |
Informs the renderer that the z-ordering of a visual's children has changed.
|
Render |
void |
Renders a visual to a drawing context.
static
|
Render |
void |
Renders a visual to a render target.
static
|
RenderFps |
void |
Inherited from RendererBase
|
Resized |
void |
Called when a resize notification is received by the control being rendered.
|
Start |
void |
Starts the renderer.
|
Stop |
void |
Stops the renderer.
|