Pops the previous framebuffer from the fbo stack and sets it.
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 |
resetTextures | boolean | <optional> | false |
Should the WebGL Textures be reset after the new framebuffer is bound? |
setViewport | boolean | <optional> | true |
Should the WebGL viewport be set? |
The Framebuffer that was set, or null
if there aren't any more in the stack.