public interface Validator
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInstalledVersion() |
java.lang.String |
getName()
Returns the name of the validation tool
|
boolean |
isInstalled()
Returns true if the tool is installed on the system, false otherwise.
|
void |
validate(Shader shader,
java.lang.StringBuilder results)
Validates the given shader to make sure it follows all requirements
of the shader language specified as
Shader.ShaderSource.getLanguage(). |
java.lang.String getName()
boolean isInstalled()
java.lang.String getInstalledVersion()
void validate(Shader shader, java.lang.StringBuilder results)
Shader.ShaderSource.getLanguage().
The results of the validation will be written into the
results argument.shader - The shader to validateresults - The storage for the validation results