Table of Contents

Struct RenderUpdate

Namespace
Maplibre.NativeFfi.Render
Assembly
Maplibre.NativeFfi.dll

Outcome of a successful render-update call. NeedsRepaint is true only when Result is Rendered and the map asked for another frame while it rendered this one, as during an ongoing camera transition. This is the same signal that a map-render-frame-finished event carries in its repaint flag, delivered without the event round trip.

public readonly record struct RenderUpdate : IEquatable<RenderUpdate>
Implements
Inherited Members

Constructors

RenderUpdate(RenderResult, bool)

Outcome of a successful render-update call. NeedsRepaint is true only when Result is Rendered and the map asked for another frame while it rendered this one, as during an ongoing camera transition. This is the same signal that a map-render-frame-finished event carries in its repaint flag, delivered without the event round trip.

public RenderUpdate(RenderResult Result, bool NeedsRepaint)

Parameters

Result RenderResult
NeedsRepaint bool

Properties

NeedsRepaint

public bool NeedsRepaint { get; init; }

Property Value

bool

Result

public RenderResult Result { get; init; }

Property Value

RenderResult