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 dpz
intermediary net/minecraft/class_281
named net/minecraft/client/gl/Program
  • Field Details

    • field_33940

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

      private static final int field_32037
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Ldpz;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 Ldpz;c:Ldpz$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 Ldpz;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 Ldpz;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> Ldpz;<init>(Ldpz$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 Ldpz;a(Ldqb;)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 Ldpz;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 Ldpz;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 Ldpz;a(Ldpz$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldpt;)Ldpz;
      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 Ldpz;b(Ldpz$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldpt;)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 Ldpz;a(Ldpz$a;Ljava/lang/String;I)Ldpz;
      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 Ldpz;c()I
      intermediary method_34417 Lnet/minecraft/class_281;method_34417()I
      named getShaderRef Lnet/minecraft/client/gl/Program;getShaderRef()I