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 drl
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 Ldrl;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 Ldrl;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 Ldrl;c:Ldrl$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 Ldrl;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 Ldrl;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> Ldrl;<init>(Ldrl$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 Ldrl;a(Ldrn;)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 Ldrl;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 Ldrl;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 Ldrl;a(Ldrl$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldrf;)Ldrl;
      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 Ldrl;b(Ldrl$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldrf;)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 Ldrl;a(Ldrl$a;Ljava/lang/String;I)Ldrl;
      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 Ldrl;c()I
      intermediary method_34417 Lnet/minecraft/class_281;method_34417()I
      named getShaderRef Lnet/minecraft/client/gl/Program;getShaderRef()I