Class EffectShaderStage

java.lang.Object
net.minecraft.client.gl.ShaderStage
net.minecraft.client.gl.EffectShaderStage

@Environment(CLIENT) public class EffectShaderStage extends ShaderStage
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 faa
  • Field Details

    • LOADER

      private static final GlImportProcessor 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 Lfaa;a:Lezv;
    • 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 Lfaa;b:I
  • Constructor Details

    • EffectShaderStage

      private EffectShaderStage(ShaderStage.Type type, int glRef, String name)
      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> Lfaa;<init>(Lfac$a;ILjava/lang/String;)V
  • Method Details

    • attachTo

      public void attachTo(EffectShaderProgram program)
      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 Lfaa;a(Lezz;)V
    • release

      public void release()
      Overrides:
      release in class ShaderStage
      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 Lfac;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 Lfaa;a(Lfac$a;Ljava/lang/String;Ljava/io/InputStream;Ljava/lang/String;)Lfaa;