Enum GlShader.Type

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

@Environment(CLIENT)
public static enum GlShader.Type
extends Enum<GlShader.Type>
Mappings:
Namespace Name
official dlj$a
intermediary net/minecraft/class_281$class_282
named net/minecraft/client/gl/GlShader$Type
  • Enum Constant Details

    • VERTEX

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

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

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Ldlj$a;c:Ljava/lang/String;
      intermediary field_1526 Lnet/minecraft/class_281$class_282;field_1526:Ljava/lang/String;
      named name Lnet/minecraft/client/gl/GlShader$Type;name:Ljava/lang/String;
    • fileExtension

      private final String fileExtension
      Mappings:
      Namespace Name Mixin selector
      official d Ldlj$a;d:Ljava/lang/String;
      intermediary field_1528 Lnet/minecraft/class_281$class_282;field_1528:Ljava/lang/String;
      named fileExtension Lnet/minecraft/client/gl/GlShader$Type;fileExtension:Ljava/lang/String;
    • glType

      private final int glType
      Mappings:
      Namespace Name Mixin selector
      official e Ldlj$a;e:I
      intermediary field_1529 Lnet/minecraft/class_281$class_282;field_1529:I
      named glType Lnet/minecraft/client/gl/GlShader$Type;glType:I
    • loadedShaders

      private final Map<String,​GlShader> loadedShaders
      Mappings:
      Namespace Name Mixin selector
      official f Ldlj$a;f:Ljava/util/Map;
      intermediary field_1527 Lnet/minecraft/class_281$class_282;field_1527:Ljava/util/Map;
      named loadedShaders Lnet/minecraft/client/gl/GlShader$Type;loadedShaders:Ljava/util/Map;
  • Constructor Details

    • Type

      private Type​(String string, String string2, int int2)
  • Method Details

    • values

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

      public static GlShader.Type valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Ldlj$a;a()Ljava/lang/String;
      intermediary method_1286 Lnet/minecraft/class_281$class_282;method_1286()Ljava/lang/String;
      named getName Lnet/minecraft/client/gl/GlShader$Type;getName()Ljava/lang/String;
    • getFileExtension

      public String getFileExtension()
      Mappings:
      Namespace Name Mixin selector
      official b Ldlj$a;b()Ljava/lang/String;
      intermediary method_1284 Lnet/minecraft/class_281$class_282;method_1284()Ljava/lang/String;
      named getFileExtension Lnet/minecraft/client/gl/GlShader$Type;getFileExtension()Ljava/lang/String;
    • getGlType

      private int getGlType()
      Mappings:
      Namespace Name Mixin selector
      official d Ldlj$a;d()I
      intermediary method_1287 Lnet/minecraft/class_281$class_282;method_1287()I
      named getGlType Lnet/minecraft/client/gl/GlShader$Type;getGlType()I
    • getLoadedShaders

      public Map<String,​GlShader> getLoadedShaders()
      Mappings:
      Namespace Name Mixin selector
      official c Ldlj$a;c()Ljava/util/Map;
      intermediary method_1289 Lnet/minecraft/class_281$class_282;method_1289()Ljava/util/Map;
      named getLoadedShaders Lnet/minecraft/client/gl/GlShader$Type;getLoadedShaders()Ljava/util/Map;