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:
{{newin|[[0.8.0]]|080|type=function}}
+
{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=It has been renamed to [[Shader:getWarnings]]}}
  
Returns any warning text given by OpenGL after compiling pixel shader code.
+
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|The warning text returned by OpenGL.}}
+
{{param|string|warnings|Warning messages (if any).}}
  
 
== See Also ==
 
== See Also ==
 
* [[parent::PixelEffect]]
 
* [[parent::PixelEffect]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Get warnings.}}
+
{{#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