Optional
flags: Record<string, RenderFlag> = {}An object which defines the flags which are supported for tracking
Optional
config: { object?: any; priority?: "OBJECTS" | "PERCEPTION" } = {}Optional configuration
Optional
object?: anyThe object which owns this RenderFlags instance
Optional
priority?: "OBJECTS" | "PERCEPTION"The ticker priority at which these render flags are handled
Readonly
flagsThe flags tracked by this data structure.
Readonly
objectThe RenderFlagObject instance which owns this set of RenderFlags
Readonly
priorityThe update priority when these render flags are applied.
Allow for handling one single flag at a time. This function returns whether the flag needs to be handled and removes it from the pending set.
Create a new Set where every element is modified by a provided transformation function.
The transformation function to apply. Positional arguments are the value, the index of iteration, and the set being transformed.
A new Set of equal size containing transformed elements.
Activate certain flags, also toggling propagation and reset behaviors
A data structure for tracking a set of boolean status flags. This is a restricted set which can only accept flag values which are pre-defined.