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 epn
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
Lepn;a:Lepi;
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
Lepn;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>
Lepn;<init>(Lepp$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
Lepn;a(Lepm;)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
Lepp;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
Lepn;a(Lepp$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lepn;
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;
-