Table of Contents

Class FramePacerHandle

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Demands render sessions' frames at a display's refreshes.

public sealed class FramePacerHandle : IDisposable
Inheritance
FramePacerHandle
Implements
Inherited Members

Remarks

See mln_frame_pacer in the C API reference.

Properties

Id

The native handle value. It stays readable after release.

public ulong Id { get; }

Property Value

ulong

IsClosed

Whether a release, dispose, or discard has ended the handle.

public bool IsClosed { get; }

Property Value

bool

Methods

Release()

Releases a frame pacer.

public void Release()

Remarks

Render sessions that use the pacer stay paced until you release them or set another pacer.

See mln_frame_pacer_release in the C API reference.

ToString()

Names the handle's type, its Id, and whether it is closed.

public override string ToString()

Returns

string