|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validator
Interface for shader validator tools.
Method Summary | |
---|---|
java.lang.String |
getInstalledVersion()
Returns the tool version as a string, must return null if the tool is not installed. |
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.getLanguage() . |
Method Detail |
---|
java.lang.String getName()
boolean isInstalled()
java.lang.String getInstalledVersion()
void validate(Shader shader, java.lang.StringBuilder results)
Shader.getLanguage()
.
The results of the validation will be written into the
results argument.
shader
- The shader to validateresults
- The storage for the validation results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |