Class Program

java.lang.Object
net.minecraft.client.gl.Program
Direct Known Subclasses:
EffectProgram

@Environment(CLIENT) public class Program extends Object
Mappings:
Namespace Name
official dry
intermediary net/minecraft/class_281
named net/minecraft/client/gl/Program
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldry;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_33940 Lnet/minecraft/class_281;field_33940:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gl/Program;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_32037

      private static final int field_32037
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldry;b:I
      intermediary field_32037 Lnet/minecraft/class_281;field_32037:I
      named field_32037 Lnet/minecraft/client/gl/Program;field_32037:I
    • shaderType

      private final Program.Type shaderType
      Mappings:
      Namespace Name Mixin selector
      official c Ldry;c:Ldry$a;
      intermediary field_1524 Lnet/minecraft/class_281;field_1524:Lnet/minecraft/class_281$class_282;
      named shaderType Lnet/minecraft/client/gl/Program;shaderType:Lnet/minecraft/client/gl/Program$Type;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Ldry;d:Ljava/lang/String;
      intermediary field_1525 Lnet/minecraft/class_281;field_1525:Ljava/lang/String;
      named name Lnet/minecraft/client/gl/Program;name:Ljava/lang/String;
    • shaderRef

      private int shaderRef
      Mappings:
      Namespace Name Mixin selector
      official e Ldry;e:I
      intermediary field_1523 Lnet/minecraft/class_281;field_1523:I
      named shaderRef Lnet/minecraft/client/gl/Program;shaderRef:I
  • Constructor Details

    • Program

      protected Program(Program.Type shaderType, int shaderRef, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldry;<init>(Ldry$a;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_281;<init>(Lnet/minecraft/class_281$class_282;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/gl/Program;<init>(Lnet/minecraft/client/gl/Program$Type;ILjava/lang/String;)V
  • Method Details

    • attachTo

      public void attachTo(GlShader program)
      Mappings:
      Namespace Name Mixin selector
      official a Ldry;a(Ldsa;)V
      intermediary method_1281 Lnet/minecraft/class_281;method_1281(Lnet/minecraft/class_3679;)V
      named attachTo Lnet/minecraft/client/gl/Program;attachTo(Lnet/minecraft/client/gl/GlShader;)V
    • release

      public void release()
      Mappings:
      Namespace Name Mixin selector
      official a Ldry;a()V
      intermediary method_1282 Lnet/minecraft/class_281;method_1282()V
      named release Lnet/minecraft/client/gl/Program;release()V
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldry;b()Ljava/lang/String;
      intermediary method_1280 Lnet/minecraft/class_281;method_1280()Ljava/lang/String;
      named getName Lnet/minecraft/client/gl/Program;getName()Ljava/lang/String;
    • createFromResource

      public static Program createFromResource(Program.Type type, String name, InputStream stream, String domain, GLImportProcessor loader) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ldry;a(Ldry$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldrs;)Ldry;
      intermediary method_1283 Lnet/minecraft/class_281;method_1283(Lnet/minecraft/class_281$class_282;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Lnet/minecraft/class_5913;)Lnet/minecraft/class_281;
      named createFromResource Lnet/minecraft/client/gl/Program;createFromResource(Lnet/minecraft/client/gl/Program$Type;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Lnet/minecraft/client/gl/GLImportProcessor;)Lnet/minecraft/client/gl/Program;
    • loadProgram

      protected static int loadProgram(Program.Type type, String name, InputStream stream, String domain, GLImportProcessor loader) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Ldry;b(Ldry$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldrs;)I
      intermediary method_34416 Lnet/minecraft/class_281;method_34416(Lnet/minecraft/class_281$class_282;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Lnet/minecraft/class_5913;)I
      named loadProgram Lnet/minecraft/client/gl/Program;loadProgram(Lnet/minecraft/client/gl/Program$Type;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Lnet/minecraft/client/gl/GLImportProcessor;)I
    • create

      private static Program create(Program.Type shaderType, String name, int shaderRef)
      Mappings:
      Namespace Name Mixin selector
      official a Ldry;a(Ldry$a;Ljava/lang/String;I)Ldry;
      intermediary method_35658 Lnet/minecraft/class_281;method_35658(Lnet/minecraft/class_281$class_282;Ljava/lang/String;I)Lnet/minecraft/class_281;
      named create Lnet/minecraft/client/gl/Program;create(Lnet/minecraft/client/gl/Program$Type;Ljava/lang/String;I)Lnet/minecraft/client/gl/Program;
    • getShaderRef

      protected int getShaderRef()
      Mappings:
      Namespace Name Mixin selector
      official c Ldry;c()I
      intermediary method_34417 Lnet/minecraft/class_281;method_34417()I
      named getShaderRef Lnet/minecraft/client/gl/Program;getShaderRef()I