Class BaseShader.GlobalSetter

    • Constructor Summary

      Constructors 
      Constructor Description
      GlobalSetter()  
    • 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
    • Constructor Detail

      • GlobalSetter

        public GlobalSetter()
    • Method Detail

      • isGlobal

        public boolean isGlobal​(BaseShader shader,
                                int inputID)
        Specified by:
        isGlobal in interface BaseShader.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.