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 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 Details

    • 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)