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