love.graphics.setRenderTarget
Only available with LÖVE 0.7.0 Game Slave
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.
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.