Sets whether to enable or disable polygon offset fill.
Parameters
value: boolean
Turn on or off webgl polygon offset testing.
Returns void
setPolygonOffset
setPolygonOffset(value, scale): void
Sets the polygon offset.
Parameters
value: number
the polygon offset
scale: number
the polygon offset scale
Returns void
updateCheck
updateCheck(func, value): void
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.
System plugin to the renderer to manage WebGL state machines.
Memberof
PIXI