Package net.minecraft.client.gl
Class EffectProgram
java.lang.Object
net.minecraft.client.gl.Program
net.minecraft.client.gl.EffectProgram
A program that can be applied to multiple GLShaders.
This program will only be released once an equal number of programs referencing it have been released.
- Mappings:
Namespace Name official dzf
intermediary net/minecraft/class_5937
named net/minecraft/client/gl/EffectProgram
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gl.Program
Program.Type
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
EffectProgram
(Program.Type type, int shaderRef, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachTo
(EffectGlShader program) static EffectProgram
createFromResource
(Program.Type type, String name, InputStream stream, String domain) void
release()
Methods inherited from class net.minecraft.client.gl.Program
attachTo, createFromResource, getName, getShaderRef, loadProgram
-
Field Details
-
LOADER
- Mappings:
Namespace Name Mixin selector official a
Ldzf;a:Ldza;
intermediary field_29329
Lnet/minecraft/class_5937;field_29329:Lnet/minecraft/class_5913;
named LOADER
Lnet/minecraft/client/gl/EffectProgram;LOADER:Lnet/minecraft/client/gl/GLImportProcessor;
-
refCount
private int refCount- Mappings:
Namespace Name Mixin selector official b
Ldzf;b:I
intermediary field_29330
Lnet/minecraft/class_5937;field_29330:I
named refCount
Lnet/minecraft/client/gl/EffectProgram;refCount:I
-
-
Constructor Details
-
EffectProgram
- Mappings:
Namespace Name Mixin selector official <init>
Ldzf;<init>(Ldzh$a;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5937;<init>(Lnet/minecraft/class_281$class_282;ILjava/lang/String;)V
named <init>
Lnet/minecraft/client/gl/EffectProgram;<init>(Lnet/minecraft/client/gl/Program$Type;ILjava/lang/String;)V
-
-
Method Details
-
attachTo
- Mappings:
Namespace Name Mixin selector official a
Ldzf;a(Ldze;)V
intermediary method_34414
Lnet/minecraft/class_5937;method_34414(Lnet/minecraft/class_5936;)V
named attachTo
Lnet/minecraft/client/gl/EffectProgram;attachTo(Lnet/minecraft/client/gl/EffectGlShader;)V
-
release
public void release() -
createFromResource
public static EffectProgram createFromResource(Program.Type type, String name, InputStream stream, String domain) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldzf;a(Ldzh$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Ldzf;
intermediary method_34415
Lnet/minecraft/class_5937;method_34415(Lnet/minecraft/class_281$class_282;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lnet/minecraft/class_5937;
named createFromResource
Lnet/minecraft/client/gl/EffectProgram;createFromResource(Lnet/minecraft/client/gl/Program$Type;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lnet/minecraft/client/gl/EffectProgram;
-