W3cubDocs

/LÖVE

Shader:getWarnings

Available since LÖVE 0.9.0
It has been renamed from PixelEffect:getWarnings.


Returns any warning and error messages from compiling the shader code. This can be used for debugging your shaders if there's anything the graphics hardware doesn't like.

Function

Synopsis

warnings = Shader:getWarnings( )

Arguments

None.

Returns

string warnings
Warning and error messages (if any).

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Shader:getWarnings