Phaser API Documentation

  Version: 
restoreContext()

Description:

This method is called if the WebGL context is lost and restored. It ensures that uniforms are synced back to the GPU for all shaders in this pipeline.

Since: 3.80.0