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
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function}}
 
{{newin|[[0.8.0]]|080|type=function}}
  
Returns any warning text given by OpenGL after compiling pixel shader code.
+
Returns any warning text given by OpenGL after compiling pixel shader code. This is useful for debugging potential problems in GLSL code.
  
 
== Function ==
 
== Function ==
Line 16: Line 16:
 
* [[parent::PixelEffect]]
 
* [[parent::PixelEffect]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Get warnings.}}
+
{{#set:Description=Get GLSL warning messages.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|PixelEffect:getWarnings}}
 
{{i18n|PixelEffect:getWarnings}}

Revision as of 23:56, 15 August 2011

Available since LÖVE 0.8.0
This function is not supported in earlier versions.


Returns any warning text given by OpenGL after compiling pixel shader code. This is useful for debugging potential problems in GLSL code.

Function

Synopsis

warnings = PixelEffect:getWarnings( )

Arguments

None.

Returns

string warnings
The warning text returned by OpenGL.

See Also

Other Languages