Class CompiledShader

java.lang.Object
net.minecraft.client.gl.CompiledShader
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class CompiledShader extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/gl/CompiledShader
intermediary net/minecraft/class_10141
official fjb
  • Field Details

    • CLOSED

      private static final int CLOSED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CLOSED Lnet/minecraft/client/gl/CompiledShader;CLOSED:I
      intermediary field_53827 Lnet/minecraft/class_10141;field_53827:I
      official b Lfjb;b:I
    • field_57880

      public static final CompiledShader field_57880
      Mappings:
      Namespace Name Mixin selector
      named field_57880 Lnet/minecraft/client/gl/CompiledShader;field_57880:Lnet/minecraft/client/gl/CompiledShader;
      intermediary field_57880 Lnet/minecraft/class_10141;field_57880:Lnet/minecraft/class_10141;
      official a Lfjb;a:Lfjb;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/gl/CompiledShader;id:Lnet/minecraft/util/Identifier;
      intermediary field_53828 Lnet/minecraft/class_10141;field_53828:Lnet/minecraft/class_2960;
      official c Lfjb;c:Lali;
    • handle

      private int handle
      Mappings:
      Namespace Name Mixin selector
      named handle Lnet/minecraft/client/gl/CompiledShader;handle:I
      intermediary field_53829 Lnet/minecraft/class_10141;field_53829:I
      official d Lfjb;d:I
    • field_57881

      private final Type field_57881
      Mappings:
      Namespace Name Mixin selector
      named field_57881 Lnet/minecraft/client/gl/CompiledShader;field_57881:Lnet/minecraft/client/gl/Type;
      intermediary field_57881 Lnet/minecraft/class_10141;field_57881:Lnet/minecraft/class_282;
      official e Lfjb;e:Lfkw;
  • Constructor Details

    • CompiledShader

      public CompiledShader(int handle, Identifier path, Type type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/CompiledShader;<init>(ILnet/minecraft/util/Identifier;Lnet/minecraft/client/gl/Type;)V
      intermediary <init> Lnet/minecraft/class_10141;<init>(ILnet/minecraft/class_2960;Lnet/minecraft/class_282;)V
      official <init> Lfjb;<init>(ILali;Lfkw;)V
  • Method Details

    • compile

      public static CompiledShader compile(Identifier id, Type type, String source) throws ShaderLoader.LoadException
      Throws:
      ShaderLoader.LoadException
      Mappings:
      Namespace Name Mixin selector
      named compile Lnet/minecraft/client/gl/CompiledShader;compile(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gl/Type;Ljava/lang/String;)Lnet/minecraft/client/gl/CompiledShader;
      intermediary method_62882 Lnet/minecraft/class_10141;method_62882(Lnet/minecraft/class_2960;Lnet/minecraft/class_282;Ljava/lang/String;)Lnet/minecraft/class_10141;
      official a Lfjb;a(Lali;Lfkw;Ljava/lang/String;)Lfjb;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/client/gl/CompiledShader;getId()Lnet/minecraft/util/Identifier;
      intermediary method_62881 Lnet/minecraft/class_10141;method_62881()Lnet/minecraft/class_2960;
      official a Lfjb;a()Lali;
    • getHandle

      public int getHandle()
      Mappings:
      Namespace Name Mixin selector
      named getHandle Lnet/minecraft/client/gl/CompiledShader;getHandle()I
      intermediary method_62883 Lnet/minecraft/class_10141;method_62883()I
      official b Lfjb;b()I
    • method_68423

      public String method_68423()
      Mappings:
      Namespace Name Mixin selector
      named method_68423 Lnet/minecraft/client/gl/CompiledShader;method_68423()Ljava/lang/String;
      intermediary method_68423 Lnet/minecraft/class_10141;method_68423()Ljava/lang/String;
      official c Lfjb;c()Ljava/lang/String;