Package net.minecraft.client.gl
Class EffectShaderStage
java.lang.Object
net.minecraft.client.gl.ShaderStage
net.minecraft.client.gl.EffectShaderStage
A shader stage that can be attached to multiple shader programs. This
shader stage will only be released once an equal number of shader
programs referencing it have been released.
- Mappings:
Namespace Name named net/minecraft/client/gl/EffectShaderStage
intermediary net/minecraft/class_5937
official fau
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gl.ShaderStage
ShaderStage.Type
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
EffectShaderStage
(ShaderStage.Type type, int glRef, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachTo
(EffectShaderProgram program) static EffectShaderStage
createFromResource
(ShaderStage.Type type, String name, InputStream stream, String domain) void
release()
Methods inherited from class net.minecraft.client.gl.ShaderStage
attachTo, createFromResource, getGlRef, getName, load
-
Field Details
-
LOADER
- Mappings:
Namespace Name Mixin selector named LOADER
Lnet/minecraft/client/gl/EffectShaderStage;LOADER:Lnet/minecraft/client/gl/GlImportProcessor;
intermediary field_29329
Lnet/minecraft/class_5937;field_29329:Lnet/minecraft/class_5913;
official a
Lfau;a:Lfap;
-
refCount
private int refCount- Mappings:
Namespace Name Mixin selector named refCount
Lnet/minecraft/client/gl/EffectShaderStage;refCount:I
intermediary field_29330
Lnet/minecraft/class_5937;field_29330:I
official b
Lfau;b:I
-
-
Constructor Details
-
EffectShaderStage
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gl/EffectShaderStage;<init>(Lnet/minecraft/client/gl/ShaderStage$Type;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5937;<init>(Lnet/minecraft/class_281$class_282;ILjava/lang/String;)V
official <init>
Lfau;<init>(Lfaw$a;ILjava/lang/String;)V
-
-
Method Details
-
attachTo
- Mappings:
Namespace Name Mixin selector named attachTo
Lnet/minecraft/client/gl/EffectShaderStage;attachTo(Lnet/minecraft/client/gl/EffectShaderProgram;)V
intermediary method_34414
Lnet/minecraft/class_5937;method_34414(Lnet/minecraft/class_5936;)V
official a
Lfau;a(Lfat;)V
-
release
public void release()- Overrides:
release
in classShaderStage
- Mappings:
Namespace Name Mixin selector named release
Lnet/minecraft/client/gl/ShaderStage;release()V
intermediary method_1282
Lnet/minecraft/class_281;method_1282()V
official a
Lfaw;a()V
-
createFromResource
public static EffectShaderStage createFromResource(ShaderStage.Type type, String name, InputStream stream, String domain) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector named createFromResource
Lnet/minecraft/client/gl/EffectShaderStage;createFromResource(Lnet/minecraft/client/gl/ShaderStage$Type;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lnet/minecraft/client/gl/EffectShaderStage;
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;
official a
Lfau;a(Lfaw$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lfau;
-