| Constructor and Description |
|---|
CgcValidator() |
| 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(). |
public java.lang.String getName()
Validatorpublic boolean isInstalled()
ValidatorisInstalled in interface Validatorpublic java.lang.String getInstalledVersion()
getInstalledVersion in interface Validatorpublic void validate(Shader shader, java.lang.StringBuilder results)
ValidatorShader.ShaderSource.getLanguage().
The results of the validation will be written into the
results argument.