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 official ehh
intermediary net/minecraft/class_5937
named net/minecraft/client/gl/EffectShaderStage
-
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 official a
Lehh;a:Lehc;
intermediary field_29329
Lnet/minecraft/class_5937;field_29329:Lnet/minecraft/class_5913;
named LOADER
Lnet/minecraft/client/gl/EffectShaderStage;LOADER:Lnet/minecraft/client/gl/GlImportProcessor;
-
refCount
private int refCount- Mappings:
Namespace Name Mixin selector official b
Lehh;b:I
intermediary field_29330
Lnet/minecraft/class_5937;field_29330:I
named refCount
Lnet/minecraft/client/gl/EffectShaderStage;refCount:I
-
-
Constructor Details
-
EffectShaderStage
- Mappings:
Namespace Name Mixin selector official <init>
Lehh;<init>(Lehj$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/EffectShaderStage;<init>(Lnet/minecraft/client/gl/ShaderStage$Type;ILjava/lang/String;)V
-
-
Method Details
-
attachTo
- Mappings:
Namespace Name Mixin selector official a
Lehh;a(Lehg;)V
intermediary method_34414
Lnet/minecraft/class_5937;method_34414(Lnet/minecraft/class_5936;)V
named attachTo
Lnet/minecraft/client/gl/EffectShaderStage;attachTo(Lnet/minecraft/client/gl/EffectShaderProgram;)V
-
release
public void release()- Overrides:
release
in classShaderStage
- Mappings:
Namespace Name Mixin selector official a
Lehj;a()V
intermediary method_1282
Lnet/minecraft/class_281;method_1282()V
named release
Lnet/minecraft/client/gl/ShaderStage;release()V
-
createFromResource
public static EffectShaderStage createFromResource(ShaderStage.Type type, String name, InputStream stream, String domain) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lehh;a(Lehj$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lehh;
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/EffectShaderStage;createFromResource(Lnet/minecraft/client/gl/ShaderStage$Type;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lnet/minecraft/client/gl/EffectShaderStage;
-