Enum Class CompiledShader.Type

java.lang.Object
java.lang.Enum<CompiledShader.Type>
net.minecraft.client.gl.CompiledShader.Type
All Implemented Interfaces:
Serializable, Comparable<CompiledShader.Type>, Constable
Enclosing class:
CompiledShader

@Environment(CLIENT) public static enum CompiledShader.Type extends Enum<CompiledShader.Type>
Whether a vertex shader or a fragment shader.
Mappings:
Namespace Name
named net/minecraft/client/gl/CompiledShader$Type
intermediary net/minecraft/class_10141$class_282
official fgg$a
  • Enum Constant Details

    • VERTEX

      public static final CompiledShader.Type VERTEX
      Mappings:
      Namespace Name Mixin selector
      named VERTEX Lnet/minecraft/client/gl/CompiledShader$Type;VERTEX:Lnet/minecraft/client/gl/CompiledShader$Type;
      intermediary field_1530 Lnet/minecraft/class_10141$class_282;field_1530:Lnet/minecraft/class_10141$class_282;
      official a Lfgg$a;a:Lfgg$a;
    • FRAGMENT

      public static final CompiledShader.Type FRAGMENT
      Mappings:
      Namespace Name Mixin selector
      named FRAGMENT Lnet/minecraft/client/gl/CompiledShader$Type;FRAGMENT:Lnet/minecraft/client/gl/CompiledShader$Type;
      intermediary field_1531 Lnet/minecraft/class_10141$class_282;field_1531:Lnet/minecraft/class_10141$class_282;
      official b Lfgg$a;b:Lfgg$a;
  • Field Details

    • VALUES

      private static final CompiledShader.Type[] VALUES
      Mappings:
      Namespace Name Mixin selector
      named VALUES Lnet/minecraft/client/gl/CompiledShader$Type;VALUES:[Lnet/minecraft/client/gl/CompiledShader$Type;
      intermediary field_53830 Lnet/minecraft/class_10141$class_282;field_53830:[Lnet/minecraft/class_10141$class_282;
      official c Lfgg$a;c:[Lfgg$a;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/gl/CompiledShader$Type;name:Ljava/lang/String;
      intermediary field_1526 Lnet/minecraft/class_10141$class_282;field_1526:Ljava/lang/String;
      official d Lfgg$a;d:Ljava/lang/String;
    • fileExtension

      private final String fileExtension
      Mappings:
      Namespace Name Mixin selector
      named fileExtension Lnet/minecraft/client/gl/CompiledShader$Type;fileExtension:Ljava/lang/String;
      intermediary field_1528 Lnet/minecraft/class_10141$class_282;field_1528:Ljava/lang/String;
      official e Lfgg$a;e:Ljava/lang/String;
    • glType

      private final int glType
      Mappings:
      Namespace Name Mixin selector
      named glType Lnet/minecraft/client/gl/CompiledShader$Type;glType:I
      intermediary field_1529 Lnet/minecraft/class_10141$class_282;field_1529:I
      official f Lfgg$a;f:I
  • Constructor Details

    • Type

      private Type(String name, String extension, int glType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/CompiledShader$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_10141$class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
      official <init> Lfgg$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
  • Method Details

    • values

      public static CompiledShader.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CompiledShader.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromId

      Mappings:
      Namespace Name Mixin selector
      named fromId Lnet/minecraft/client/gl/CompiledShader$Type;fromId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/gl/CompiledShader$Type;
      intermediary method_62884 Lnet/minecraft/class_10141$class_282;method_62884(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10141$class_282;
      official a Lfgg$a;a(Lalz;)Lfgg$a;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/gl/CompiledShader$Type;getName()Ljava/lang/String;
      intermediary method_1286 Lnet/minecraft/class_10141$class_282;method_1286()Ljava/lang/String;
      official a Lfgg$a;a()Ljava/lang/String;
    • getGlType

      public int getGlType()
      Mappings:
      Namespace Name Mixin selector
      named getGlType Lnet/minecraft/client/gl/CompiledShader$Type;getGlType()I
      intermediary method_1287 Lnet/minecraft/class_10141$class_282;method_1287()I
      official b Lfgg$a;b()I
    • createFinder

      public ResourceFinder createFinder()
      Mappings:
      Namespace Name Mixin selector
      named createFinder Lnet/minecraft/client/gl/CompiledShader$Type;createFinder()Lnet/minecraft/resource/ResourceFinder;
      intermediary method_62885 Lnet/minecraft/class_10141$class_282;method_62885()Lnet/minecraft/class_7654;
      official c Lfgg$a;c()Lals;