Class ElementShader

java.lang.Object
net.minecraftforge.fml.earlydisplay.ElementShader

public class ElementShader extends Object
  • Field Details

    • program

      private int program
    • textureUniform

      private int textureUniform
    • screenSizeUniform

      private int screenSizeUniform
    • renderTypeUniform

      private int renderTypeUniform
  • Constructor Details

    • ElementShader

      public ElementShader()
  • Method Details

    • init

      public void init()
    • activate

      public void activate()
    • updateTextureUniform

      public void updateTextureUniform(int textureNumber)
    • updateScreenSizeUniform

      public void updateScreenSizeUniform(int width, int height)
    • updateRenderTypeUniform

      public void updateRenderTypeUniform(ElementShader.RenderType type)
    • clear

      public void clear()
    • close

      public void close()
    • program

      public int program()