Available since LÖVE 11.0
This function is not supported in earlier versions.
Validates shader code. Check if specified shader code does not contain any errors.
status, message = love.graphics.validateShader( gles, code )
boolean glesstring codeboolean statustrue if specified shader code doesn't contain any errors. false otherwise.string messagenil if validation succeded).status, message = love.graphics.validateShader( gles, pixelcode, vertexcode )
boolean glesstring pixelcodestring vertexcodeboolean statustrue if specified shader code doesn't contain any errors. false otherwise.string messagenil if validation succeded).
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.validateShader