A specialized canvas group for rendering hidden containers before all others (like masks).
The container which hold masks.
Static
Add a mask to this group.
Name of the mask.
Display object to add.
Optional
Position of the mask.
Invalidate the masks: flag them for rerendering.
Private
Perform necessary draw operations.
Attach masks container to this canvas layer and create tile occlusion, vision masks and depth mask.
A specialized canvas group for rendering hidden containers before all others (like masks).