Use this to reset the gl context to the state that Phaser requires to continue rendering.
Calling this will:
DEPTH_TEST
, CULL_FACE
and STENCIL_TEST
.You should call this if you have previously called clear
, and then wish to return
rendering control to Phaser again.
name | type | arguments | description |
---|---|---|---|
pipeline | Phaser.Renderer.WebGL.WebGLPipeline | <optional> |
The pipeline instance to be rebound. If not given, the previous pipeline will be bound. |