love.graphics.setRenderTarget
Available since LÖVE 0.7.0 |
It is not supported in earlier versions. |
Sets or resets a Framebuffer as render target. All drawing operations until the next love.graphics.setRenderTarget will be directed to the Framebuffer object specified.
Contents
Function
Synopsis
love.graphics.setRenderTarget( framebuffer )
Arguments
Framebuffer framebuffer
- The new render target.
Returns
Nothing.
Notes
Sets the render target to a specified Framebuffer. All drawing operations until the next love.graphics.setRenderTarget will be redirected to the Framebuffer and not shown on the screen.
Function
Synopsis
love.graphics.setRenderTarget( )
Arguments
None.
Returns
Nothing.
Notes
Resets the render target to the screen, i.e. re-enables drawing to the screen.