Class ShaderProgramImpl.Wrapper

java.lang.Object
net.minecraft.client.renderer.ShaderInstance
foundry.veil.impl.client.render.shader.ShaderProgramImpl.Wrapper
All Implemented Interfaces:
com.mojang.blaze3d.shaders.Shader, AutoCloseable
Enclosing class:
ShaderProgramImpl

public static class ShaderProgramImpl.Wrapper extends net.minecraft.client.renderer.ShaderInstance
  • Field Details

    • constructing

      public static boolean constructing
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class net.minecraft.client.renderer.ShaderInstance
    • clear

      public void clear()
      Overrides:
      clear in class net.minecraft.client.renderer.ShaderInstance
    • apply

      public void apply()
      Overrides:
      apply in class net.minecraft.client.renderer.ShaderInstance
    • attachToProgram

      public void attachToProgram()
      Specified by:
      attachToProgram in interface com.mojang.blaze3d.shaders.Shader
      Overrides:
      attachToProgram in class net.minecraft.client.renderer.ShaderInstance
    • markDirty

      public void markDirty()
      Specified by:
      markDirty in interface com.mojang.blaze3d.shaders.Shader
      Overrides:
      markDirty in class net.minecraft.client.renderer.ShaderInstance
    • getUniform

      @Nullable public @Nullable ShaderProgramImpl.UniformWrapper getUniform(String name)
      Overrides:
      getUniform in class net.minecraft.client.renderer.ShaderInstance
    • setSampler

      public void setSampler(String name, Object value)
      Overrides:
      setSampler in class net.minecraft.client.renderer.ShaderInstance
    • program

      public ShaderProgram program()
      Returns:
      The backing shader program