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
Modifier and TypeMethodDescriptionboolean
isGlobal
(BaseIntShader shader, int inputID) void
set
(BaseIntShader shader, int inputID, IntRenderable renderable, Attributes combinedAttributes)
-
Method Details
-
isGlobal
- 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, Attributes combinedAttributes)
-