Difference between revisions of "PixelEffect"

m (This is listed as a constructor.)
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=type}}
+
{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=type|text=It has been renamed to [[Shader]]}}
 
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.
 
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.
  
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 ==

Latest revision as of 18:16, 27 December 2015

Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0
It has been renamed to Shader.

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