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 ffk$a
  • Enum Constant Details Link icon

    • VERTEX Link icon

      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 Lffk$a;a:Lffk$a;
    • FRAGMENT Link icon

      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 Lffk$a;b:Lffk$a;
  • Field Details Link icon

    • VALUES Link icon

      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 Lffk$a;c:[Lffk$a;
    • name Link icon

      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 Lffk$a;d:Ljava/lang/String;
    • fileExtension Link icon

      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 Lffk$a;e:Ljava/lang/String;
    • glType Link icon

      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 Lffk$a;f:I
  • Constructor Details Link icon

    • Type Link icon

      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> Lffk$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
  • Method Details Link icon

    • values Link icon

      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 Link icon

      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 Link icon

      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 Lffk$a;a(Lakv;)Lffk$a;
    • getName Link icon

      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 Lffk$a;a()Ljava/lang/String;
    • getGlType Link icon

      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 Lffk$a;b()I
    • createFinder Link icon

      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 Lffk$a;c()Lako;