Difference between revisions of "PixelEffect"

m (This is listed as a constructor.)
(Applying listings to included added and removed fields.)
Line 8: Line 8:
 
| headers=hide
 
| headers=hide
 
| default=None.
 
| default=None.
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Functions ==
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::PixelEffect||Object]] [[Since::080]]
 
{{#ask: [[Category:Functions]] [[parent::PixelEffect||Object]] [[Since::080]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Supertypes ==
 
== Supertypes ==

Revision as of 23:18, 29 March 2013

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

A PixelEffect is used for advanced hardware-accelerated pixel manipulation. These effects are written in a language based on GLSL (OpenGL Shading Language) with a few things simplified for easier coding.

Potential uses for pixel effects include HDR/bloom, motion blur, grayscale/invert/sepia/any kind of color effect, reflection/refraction, distortions, and much more!

Constructors

love.graphics.newPixelEffect Creates a new PixelEffect. Added since 0.8.0 Removed in 0.9.0

Functions

PixelEffect:getWarnings Gets warning messages (if any). Added since 0.8.0 Removed in 0.9.0
PixelEffect:send Sends one or more values to the pixel effect. Added since 0.8.0 Removed in 0.9.0

Supertypes

See Also

Other Languages