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 fgg
  • 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 a Lfgg;a:I
    • 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 b Lfgg;b:Lalz;
    • 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 c Lfgg;c:I
  • Constructor Details

    • CompiledShader

      private CompiledShader(int handle, Identifier path)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/CompiledShader;<init>(ILnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_10141;<init>(ILnet/minecraft/class_2960;)V
      official <init> Lfgg;<init>(ILalz;)V
  • Method Details

    • compile

      public static CompiledShader compile(Identifier id, CompiledShader.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/CompiledShader$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_10141$class_282;Ljava/lang/String;)Lnet/minecraft/class_10141;
      official a Lfgg;a(Lalz;Lfgg$a;Ljava/lang/String;)Lfgg;
    • 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 Lfgg;a()Lalz;
    • 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 Lfgg;b()I