Difference between revisions of "Framebuffer"
m |
m (Removed the part about having to scale what you draw in order for the Framebuffer to work like a canvas as this is no longer a problem.) |
||
Line 3: | Line 3: | ||
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. | 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". | It is also known as "render to texture". | ||
− | |||
− | |||
== Constructors == | == Constructors == |
Revision as of 17:36, 8 December 2010
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.newFramebuffer | Creates a new Framebuffer. |
Functions
Canvas | Off-screen render target. |
Canvas (Nederlands) | Off-screen render target. |
Framebuffer | Off-screen render target. |
Framebuffer:getImageData | Get stored ImageData. |
Framebuffer:getWrap | Gets the wrapping properties of a Framebuffer. |
Framebuffer:renderTo | Render to a framebuffer using a function. |
Framebuffer:setWrap | Sets the wrapping properties of a Framebuffer. |
Image | Drawable image type. |
Mesh | A 2D polygon mesh used for drawing arbitrary textured shapes. |
ParticleSystem | Used to create cool effects, like fire. |
SpriteBatch | Store image positions in a buffer, and draw it in one call. |
SpriteBatch (Français) | Stock des positions d'image dans un tampon, puis les trace en un seul appel. |
Text | Drawable text. |
TextBatch | One or more precalculated strings of text stored in a Drawable object. |
Texture | Superclass for drawable objects which represent a texture. |
Video | A drawable video. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info