|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme3tools.shadercheck.CgcValidator
public class CgcValidator
Constructor Summary | |
---|---|
CgcValidator()
|
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() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CgcValidator()
Method Detail |
---|
public java.lang.String getName()
Validator
getName
in interface Validator
public boolean isInstalled()
Validator
isInstalled
in interface Validator
public java.lang.String getInstalledVersion()
Validator
getInstalledVersion
in interface Validator
public void validate(Shader shader, java.lang.StringBuilder results)
Validator
Shader.getLanguage()
.
The results of the validation will be written into the
results argument.
validate
in interface Validator
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 |