Difference between revisions of "Framebuffer"

Line 9: Line 9:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::Framebuffer]] OR [[parent::Drawable]] OR [[parent::Object]] [[Since::<071]]
+
{{#ask: [[Category:Functions]] [[parent::Framebuffer||Drawable||Object]] [[Since::<071]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 17:39, 25 March 2011

Available since LÖVE 0.7.0
This type is not supported in earlier versions.

A Framebuffer is used for off-screen rendering. Think of it as an invisible screen that you can draw to, but that will not be visible until you draw it to the actual visible screen. It is also known as "render to texture".

Constructors

love.graphics.newFramebufferCreates a new Framebuffer.

Functions

Framebuffer:getImageDataGet stored ImageData.
Framebuffer:renderToRender to a framebuffer using a function.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Drawable Object

See Also

Other Languages