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

Other Languages

Personal tools