Package gaiasky.util.gdx.shader
Class BaseIntShader.GlobalSetter
- java.lang.Object
-
- gaiasky.util.gdx.shader.BaseIntShader.GlobalSetter
-
- All Implemented Interfaces:
BaseIntShader.Setter
- Enclosing class:
- BaseIntShader
public abstract static class BaseIntShader.GlobalSetter extends java.lang.Object implements BaseIntShader.Setter
-
-
Constructor Summary
Constructors Constructor Description GlobalSetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isGlobal(BaseIntShader shader, int inputID)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gaiasky.util.gdx.shader.BaseIntShader.Setter
set
-
-
-
-
Method Detail
-
isGlobal
public boolean isGlobal(BaseIntShader shader, int inputID)
- Specified by:
isGlobal
in interfaceBaseIntShader.Setter
- Returns:
- True if the uniform only has to be set once per render call, false if the uniform must be set for each renderable.
-
-