Package jme3tools.shadercheck
Class GpuAnalyzerValidator
java.lang.Object
jme3tools.shadercheck.GpuAnalyzerValidator
- All Implemented Interfaces:
- Validator
Shader validator implementation for AMD's GPUShaderAnalyser.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Returns the name of the validation toolbooleanReturns true if the tool is installed on the system, false otherwise.voidvalidate(Shader shader, StringBuilder results) Validates the given shader to make sure it follows all requirements of the shader language specified asShader.ShaderSource.getLanguage().
- 
Constructor Details- 
GpuAnalyzerValidatorpublic GpuAnalyzerValidator()
 
- 
- 
Method Details- 
getNameDescription copied from interface:ValidatorReturns the name of the validation tool
- 
isInstalledpublic boolean isInstalled()Description copied from interface:ValidatorReturns true if the tool is installed on the system, false otherwise.- Specified by:
- isInstalledin interface- Validator
- Returns:
- true if installed, otherwise false
 
- 
getInstalledVersion- Specified by:
- getInstalledVersionin interface- Validator
- Returns:
- the tool version as a String, must return null if the tool is not installed.
 
- 
validateDescription copied from interface:ValidatorValidates the given shader to make sure it follows all requirements of the shader language specified asShader.ShaderSource.getLanguage(). The results of the validation will be written into the results argument.
 
-