ShaderProgram.errorLog

class ShaderProgram
@property
string
errorLog
()

Return Value

Type: string

empty string if the shader was compiled without errors, or error log otherwise.

Examples

if ( !myShaderProgram.compile ){
	  writeln( myShaderProgram.errorLog ); //Writes error log to console
}

See Also

compile

Meta