Enum Class GlShader.Type

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

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

    • VERTEX

      public static final GlShader.Type VERTEX
      Mappings:
      Namespace Name Mixin selector
      official a Lblt$a;a:Lblt$a;
      intermediary field_8061 Lnet/minecraft/class_1874$class_1875;field_8061:Lnet/minecraft/class_1874$class_1875;
      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 Lblt$a;b:Lblt$a;
      intermediary field_8062 Lnet/minecraft/class_1874$class_1875;field_8062:Lnet/minecraft/class_1874$class_1875;
      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 Lblt$a;c:Ljava/lang/String;
      intermediary field_8063 Lnet/minecraft/class_1874$class_1875;field_8063: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 Lblt$a;d:Ljava/lang/String;
      intermediary field_8064 Lnet/minecraft/class_1874$class_1875;field_8064: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 Lblt$a;e:I
      intermediary field_8065 Lnet/minecraft/class_1874$class_1875;field_8065: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 Lblt$a;f:Ljava/util/Map;
      intermediary field_8066 Lnet/minecraft/class_1874$class_1875;field_8066:Ljava/util/Map;
      named loadedShaders Lnet/minecraft/client/gl/GlShader$Type;loadedShaders:Ljava/util/Map;
  • Constructor Details

    • Type

      private Type(String name, String fileExtension, int glType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblt$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_1874$class_1875;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
      named <init> Lnet/minecraft/client/gl/GlShader$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
  • Method Details

    • values

      public static GlShader.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 GlShader.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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lblt$a;a()Ljava/lang/String;
      intermediary method_6966 Lnet/minecraft/class_1874$class_1875;method_6966()Ljava/lang/String;
      named getName Lnet/minecraft/client/gl/GlShader$Type;getName()Ljava/lang/String;
    • getFileExtension

      protected String getFileExtension()
      Mappings:
      Namespace Name Mixin selector
      official b Lblt$a;b()Ljava/lang/String;
      intermediary method_6967 Lnet/minecraft/class_1874$class_1875;method_6967()Ljava/lang/String;
      named getFileExtension Lnet/minecraft/client/gl/GlShader$Type;getFileExtension()Ljava/lang/String;
    • getGlType

      protected int getGlType()
      Mappings:
      Namespace Name Mixin selector
      official c Lblt$a;c()I
      intermediary method_6968 Lnet/minecraft/class_1874$class_1875;method_6968()I
      named getGlType Lnet/minecraft/client/gl/GlShader$Type;getGlType()I
    • getLoadedShaders

      protected Map<String,GlShader> getLoadedShaders()
      Mappings:
      Namespace Name Mixin selector
      official d Lblt$a;d()Ljava/util/Map;
      intermediary method_6969 Lnet/minecraft/class_1874$class_1875;method_6969()Ljava/util/Map;
      named getLoadedShaders Lnet/minecraft/client/gl/GlShader$Type;getLoadedShaders()Ljava/util/Map;