Difference between revisions of "PixelEffect"
(Created page with "{{newin|0.8.0|080|type=type}} A PixelEffect is used for hardware-accelerated pixel manipulation, also known as pixel shading. These effects are written in a language called G...") |
m |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=type|text=It has been renamed to [[Shader]]}} |
− | A PixelEffect is used for hardware-accelerated pixel manipulation | + | 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 == | == Constructors == | ||
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:: | + | {{#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 == | ||
Line 19: | Line 31: | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
− | |||
* [[love.graphics.setPixelEffect]] | * [[love.graphics.setPixelEffect]] | ||
[[Category:Types]] | [[Category:Types]] |
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. | 0.8.0 | 0.9.0 |
Functions
PixelEffect:getWarnings | Gets warning messages (if any). | 0.8.0 | 0.9.0 |
PixelEffect:send | Sends one or more values to the pixel effect. | 0.8.0 | 0.9.0 |
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