Package net.minecraft.client.gl
Class Program
java.lang.Object
net.minecraft.client.gl.Program
- Direct Known Subclasses:
EffectProgram
- Mappings:
Namespace Name official dtb
intermediary net/minecraft/class_281
named net/minecraft/client/gl/Program
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final org.slf4j.Logger
private final String
private int
private final Program.Type
-
Constructor Summary
ModifierConstructorDescriptionprotected
Program
(Program.Type shaderType, int shaderRef, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private static Program
create
(Program.Type shaderType, String name, int shaderRef) static Program
createFromResource
(Program.Type type, String name, InputStream stream, String domain, GLImportProcessor loader) getName()
protected int
protected static int
loadProgram
(Program.Type type, String name, InputStream stream, String domain, GLImportProcessor loader) void
release()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Ldtb;a:Lorg/slf4j/Logger;
intermediary field_33940
Lnet/minecraft/class_281;field_33940:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gl/Program;LOGGER:Lorg/slf4j/Logger;
-
field_32037
private static final int field_32037- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldtb;b:I
intermediary field_32037
Lnet/minecraft/class_281;field_32037:I
named field_32037
Lnet/minecraft/client/gl/Program;field_32037:I
-
shaderType
- Mappings:
Namespace Name Mixin selector official c
Ldtb;c:Ldtb$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
- Mappings:
Namespace Name Mixin selector official d
Ldtb;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
Ldtb;e:I
intermediary field_1523
Lnet/minecraft/class_281;field_1523:I
named shaderRef
Lnet/minecraft/client/gl/Program;shaderRef:I
-
-
Constructor Details
-
Program
- Mappings:
Namespace Name Mixin selector official <init>
Ldtb;<init>(Ldtb$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
- Mappings:
Namespace Name Mixin selector official a
Ldtb;a(Ldtd;)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
Ldtb;a()V
intermediary method_1282
Lnet/minecraft/class_281;method_1282()V
named release
Lnet/minecraft/client/gl/Program;release()V
-
getName
- Mappings:
Namespace Name Mixin selector official b
Ldtb;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
Ldtb;a(Ldtb$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldsu;)Ldtb;
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
Ldtb;b(Ldtb$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;Ldsu;)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
- Mappings:
Namespace Name Mixin selector official a
Ldtb;a(Ldtb$a;Ljava/lang/String;I)Ldtb;
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
Ldtb;c()I
intermediary method_34417
Lnet/minecraft/class_281;method_34417()I
named getShaderRef
Lnet/minecraft/client/gl/Program;getShaderRef()I
-