Phaser API Documentation

  Version: 
restoreFramebuffer([updateScissor], [setViewport])

Description:

Restores the previous framebuffer from the fbo stack and sets it.

Parameters:

name type arguments Default description
updateScissor boolean <optional> false

If a framebuffer is given, set the gl scissor to match the frame buffer size? Or, if null given, pop the scissor from the stack.

setViewport boolean <optional> true

Should the WebGL viewport be set?

Since: 3.60.0