Difference between revisions of "love.graphics.setRenderTarget"
(Added newin template) |
|||
Line 1: | Line 1: | ||
− | + | {{newin|[[0.7.0]]}} | |
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. | 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. |
Revision as of 07:40, 20 September 2010
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.