Package gaiasky.util.gdx.shader
Class BaseIntShader.Uniform
- java.lang.Object
-
- gaiasky.util.gdx.shader.BaseIntShader.Uniform
-
- All Implemented Interfaces:
BaseIntShader.Validator
- Enclosing class:
- BaseIntShader
public static class BaseIntShader.Uniform extends java.lang.Object implements BaseIntShader.Validator
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
alias
long
environmentMask
long
materialMask
long
overallMask
-
Constructor Summary
Constructors Constructor Description Uniform(java.lang.String alias)
Uniform(java.lang.String alias, long overallMask)
Uniform(java.lang.String alias, long materialMask, long environmentMask)
Uniform(java.lang.String alias, long materialMask, long environmentMask, long overallMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(BaseIntShader shader, int inputID, IntRenderable renderable)
-
-
-
Constructor Detail
-
Uniform
public Uniform(java.lang.String alias, long materialMask, long environmentMask, long overallMask)
-
Uniform
public Uniform(java.lang.String alias, long materialMask, long environmentMask)
-
Uniform
public Uniform(java.lang.String alias, long overallMask)
-
Uniform
public Uniform(java.lang.String alias)
-
-
Method Detail
-
validate
public boolean validate(BaseIntShader shader, int inputID, IntRenderable renderable)
- Specified by:
validate
in interfaceBaseIntShader.Validator
- Returns:
- True if the input is valid for the renderable, false otherwise.
-
-