FrameDemandFlag class final
How a frame demand behaves.
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.
Constructors
- FrameDemandFlag.fromRawValue(int rawValue)
-
const
Properties
Methods
-
contains(
FrameDemandFlag other) → bool -
Whether every bit of
otheris set in this value.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator &(
FrameDemandFlag other) → FrameDemandFlag -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
FrameDemandFlag other) → FrameDemandFlag -
inherited
Constants
- force → const FrameDemandFlag
-
Draws a frame even when nothing changed since the last one. It can't be
combined with
FrameDemandFlag.waitForUpdate. - none → const FrameDemandFlag
- No flags.
- waitForUpdate → const FrameDemandFlag
-
When the map has nothing new to draw, waits for its next update instead of
finishing with
RenderResult.noUpdate.