Enum FrameDemandFlag
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
How a frame demand behaves.
[Flags]
public enum FrameDemandFlag : uint
Fields
Force = 1Draws a frame even when nothing changed since the last one. It can't be combined with
FrameDemandFlag.WaitForUpdate.WaitForUpdate = 4When the map has nothing new to draw, waits for its next update instead of finishing with
RenderResult.NoUpdate.
Remarks
Without flags, a demand draws a frame when the map changed since the
last one, and otherwise finishes with RenderResult.NoUpdate. A
session with a surface target shows each frame that it draws.
See mln_frame_demand_flag in the C API reference.