Resizes this Render Target.
Deletes both the frame buffer and texture, if they exist and then re-creates them using the new sizes.
This method is called automatically by the pipeline during its resize handler.
name | type | description |
---|---|---|
width | number |
The new width of this Render Target. |
height | number |
The new height of this Render Target. |
This RenderTarget instance.