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.
An object which defines the flags which are supported for tracking
Optional configuration
The object which owns this RenderFlags instance
The ticker priority at which these render flags are handled
The flags which were previously set that have been cleared.
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.
Activate certain flags, also toggling propagation and reset behaviors
Private
Recursively set a flag. This method applies propagation or reset behaviors when flags are assigned.
Log the deprecation warning of the flag.
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.
Param: flags
An object which defines the flags which are supported for tracking
Param: config
Optional configuration
Param: config.object
The object which owns this RenderFlags instance
Param: config.priority
The ticker priority at which these render flags are handled