Difference between revisions of "PixelEffect"

m
m (This is listed as a constructor.)
Line 19: Line 19:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
* [[love.graphics.newPixelEffect]]
 
 
* [[love.graphics.setPixelEffect]]
 
* [[love.graphics.setPixelEffect]]
 
[[Category:Types]]
 
[[Category:Types]]

Revision as of 20:01, 3 September 2011

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.newPixelEffectCreates a new PixelEffect.

Functions

PixelEffect:getWarningsGets warning messages (if any).
PixelEffect:sendSends one or more values to the pixel effect.

Supertypes

See Also

Other Languages