Difference between revisions of "Image"
(added parentheses note) |
(warning about po2 on images) |
||
Line 1: | Line 1: | ||
+ | {{notice|Images are susceptible to [http://love2d.org/wiki/PO2_Syndrome Power of 2 syndrome] on many computers with lower end graphics.}} | ||
Drawable image type. | Drawable image type. | ||
== Functions == | == Functions == |
Revision as of 18:45, 17 November 2010
Images are susceptible to Power of 2 syndrome on many computers with lower end graphics. |
Drawable image type.
Functions
These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.
(Image):getData | Gets the original ImageData or CompressedData used to create the Image. |
(Image):getFlags | Gets the flags used when the image was created. |
(Image):isCompressed | Gets whether the Image was created from CompressedData. |
(Image):isFormatLinear | Gets whether the Image was created with a the linear (non-gamma corrected) flag set to true. |
(Image):refresh | Reloads the Image's contents from the ImageData or CompressedData used to create the image. |
(Image):replacePixels | Replace the contents of an Image. |
Canvas | Off-screen render target. |
Canvas (Nederlands) | Off-screen render target. |
Framebuffer | Off-screen render target. |
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. |