Package gaiasky.util.gdx.shader
Interface BaseIntShader.Setter
-
- All Known Implementing Classes:
BaseIntShader.GlobalSetter
,BaseIntShader.LocalSetter
,DefaultIntShader.Setters.ACubemap
,DefaultIntShader.Setters.Bones
- Enclosing class:
- BaseIntShader
public static interface BaseIntShader.Setter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isGlobal(BaseIntShader shader, int inputID)
void
set(BaseIntShader shader, int inputID, IntRenderable renderable, com.badlogic.gdx.graphics.g3d.Attributes combinedAttributes)
-
-
-
Method Detail
-
isGlobal
boolean isGlobal(BaseIntShader shader, int inputID)
- Returns:
- True if the uniform only has to be set once per render call, false if the uniform must be set for each renderable.
-
set
void set(BaseIntShader shader, int inputID, IntRenderable renderable, com.badlogic.gdx.graphics.g3d.Attributes combinedAttributes)
-
-