The renderer this System works for.
Generic destroy methods to be overridden by the subclass
Sets the state, when previous state is unknown
The state to set
Resets all the logic and disables the vaos
Sets the current state
The state to set.
Enables or disabled blending.
Turn on or off webgl blending.
Sets the blend mode.
The blend mode to set to.
Sets whether to enable or disable cull face.
Turn on or off webgl cull face.
Sets whether to enable or disable depth mask.
Turn on or off webgl depth mask.
Sets whether to enable or disable depth test.
Turn on or off webgl depth testing.
Sets the gl front face.
true is clockwise and false is counter-clockwise
Enables or disable polygon offset fill
Turn on or off webgl polygon offset testing.
Sets the polygon offset.
the polygon offset
the polygon offset scale
checks to see which updates should be checked based on which settings have been activated. For example, if blend is enabled then we should check the blend modes each time the state is changed or if polygon fill is activated then we need to check if the polygon offset changes. The idea is that we only check what we have too.
the checking function to add or remove
should the check function be added or removed.
A private little wrapper function that we call to check the blend mode.
the state that the blendMode will pulled from
A private little wrapper function that we call to check the polygon offset.
the state that the blendMode will pulled from
Generated using TypeDoc
System plugin to the renderer to manage WebGL state machines.
PIXI