Shader:getWarnings

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

doc_love
2017-03-21 15:52:50
Comments
Leave a Comment

Please login to continue.