Difference between revisions of "PixelEffect:getWarnings"
(Created page with "{{newin|0.8.0|080|type=function}} Returns any warning text given by OpenGL after compiling pixel shader code. == Function == === Synopsis === <source lang="lua"> warnings =...") |
m (Added oldin) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=It has been renamed to [[Shader:getWarnings]]}} |
− | Returns any warning | + | Returns any warning messages from compiling the pixel effect code. This can be used for debugging your pixel effects if there's anything the graphics hardware doesn't like. |
== Function == | == Function == | ||
Line 11: | Line 11: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|string|warnings| | + | {{param|string|warnings|Warning messages (if any).}} |
== See Also == | == See Also == | ||
* [[parent::PixelEffect]] | * [[parent::PixelEffect]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets warning messages (if any).}} |
== Other Languages == | == Other Languages == | ||
{{i18n|PixelEffect:getWarnings}} | {{i18n|PixelEffect:getWarnings}} |
Latest revision as of 10:24, 1 January 2019
Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 |
It has been renamed to Shader:getWarnings. |
Returns any warning messages from compiling the pixel effect code. This can be used for debugging your pixel effects if there's anything the graphics hardware doesn't like.
Function
Synopsis
warnings = PixelEffect:getWarnings( )
Arguments
None.
Returns
string warnings
- Warning messages (if any).
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