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 gles
string code
boolean status
true
if specified shader code doesn't contain any errors. false
otherwise.string message
nil
if validation succeded).status, message = love.graphics.validateShader( gles, pixelcode, vertexcode )
boolean gles
string pixelcode
string vertexcode
boolean status
true
if specified shader code doesn't contain any errors. false
otherwise.string message
nil
if validation succeded).