Pushes this Render Target as the current frame buffer of the renderer.
If autoClear
is set, then clears the texture.
If adjustViewport
is true
then it will flush the renderer and then adjust the GL viewport.
name | type | arguments | Default | description |
---|---|---|---|---|
adjustViewport | boolean | <optional> | false |
Adjust the GL viewport by calling |
width | number | <optional> |
Optional new width of this Render Target. |
|
height | number | <optional> |
Optional new height of this Render Target. |