Name | Type | Description |
---|---|---|
gl |
WebGLRenderingContext |
The current WebGL rendering context |
Extends
- PIXI.systems.System
Members
-
The current WebGL rendering context
Methods
-
Resets all the logic and disables the vaos
-
Disables all the vaos in use
-
Enables or disabled blending.
Name Type Description value
boolean Turn on or off webgl blending.
-
Sets the blend mode.
Name Type Description value
number The blend mode to set to.
-
Sets whether to enable or disable cull face.
Name Type Description value
boolean Turn on or off webgl cull face.
-
Sets whether to enable or disable depth test.
Name Type Description value
boolean Turn on or off webgl depth testing.
-
Sets the gl front face.
Name Type Description value
boolean true is clockwise and false is counter-clockwise
-
Enables or disable polygon offset fill
Name Type Description value
boolean Turn on or off webgl polygon offset testing.
-
Sets the polygon offset.
Name Type Description value
number the polygon offset
scale
number the polygon offset scale
-
Sets the current state
Name Type Description state
* The state to set.
-
checks to see which updates should be checked based on which settings have been activated for example if blend is enabled then we shold check the blend modes each time the state is changed or if poygon fill is activated then we need to check if the polygone offset changes. The idea is that we only check what we have too.
Name Type Description func
function the checking function to add or remove
value
boolean should the check function be added or removed.