Table of Contents

Struct RenderEventRef

Namespace
Xui.Core.Abstract.Events
Assembly
Xui.Core.dll

Represents a platform-level render event dispatched after a timing frame, indicating that views should perform layout and rendering operations within a given region.

public ref struct RenderEventRef
Inherited Members

Remarks

This event follows a FrameEventRef and marks the phase during which views are expected to perform their Measure, Arrange, and Render passes. It is emitted by the Actual window and forwarded to the Abstract layer.

Constructors

RenderEventRef(Rect, FrameEventRef, IContext)

Initializes a new instance of the RenderEventRef struct with the given invalidation region and frame timing data.

public RenderEventRef(Rect rect, FrameEventRef frame, IContext context)

Parameters

rect Rect

The region to be rendered.

frame FrameEventRef

The timing information for this frame.

context IContext

The drawing context for this render pass.

Fields

Context

The frame-bound drawing context for this render pass. It must not be retained after the event returns to the render surface.

public IContext Context

Field Value

IContext

Frame

Timing information associated with this frame, typically used for animations.

public FrameEventRef Frame

Field Value

FrameEventRef

Rect

The region of the screen or surface that should be re-rendered.

public Rect Rect

Field Value

Rect