Class BaseShader.LocalSetter
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.shaders.BaseShader.LocalSetter
-
- All Implemented Interfaces:
BaseShader.Setter
- Direct Known Subclasses:
DefaultShader.Setters.ACubemap
,DefaultShader.Setters.Bones
- Enclosing class:
- BaseShader
public abstract static class BaseShader.LocalSetter extends java.lang.Object implements BaseShader.Setter
-
-
Constructor Summary
Constructors Constructor Description LocalSetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isGlobal(BaseShader 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 com.badlogic.gdx.graphics.g3d.shaders.BaseShader.Setter
set
-
-
-
-
Method Detail
-
isGlobal
public boolean isGlobal(BaseShader shader, int inputID)
- Specified by:
isGlobal
in interfaceBaseShader.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.
-
-