Enum Class UniformType

java.lang.Object
java.lang.Enum<UniformType>
net.minecraft.client.gl.UniformType
All Implemented Interfaces:
Serializable, Comparable<UniformType>, Constable

@Environment(CLIENT) public enum UniformType extends Enum<UniformType>
Mappings:
Namespace Name
named net/minecraft/client/gl/UniformType
intermediary net/minecraft/class_10789
official fxr
  • Enum Constant Details

    • UNIFORM_BUFFER

      public static final UniformType UNIFORM_BUFFER
      Mappings:
      Namespace Name Mixin selector
      named UNIFORM_BUFFER Lnet/minecraft/client/gl/UniformType;UNIFORM_BUFFER:Lnet/minecraft/client/gl/UniformType;
      intermediary field_60031 Lnet/minecraft/class_10789;field_60031:Lnet/minecraft/class_10789;
      official a Lfxr;a:Lfxr;
    • TEXEL_BUFFER

      public static final UniformType TEXEL_BUFFER
      Mappings:
      Namespace Name Mixin selector
      named TEXEL_BUFFER Lnet/minecraft/client/gl/UniformType;TEXEL_BUFFER:Lnet/minecraft/client/gl/UniformType;
      intermediary field_60032 Lnet/minecraft/class_10789;field_60032:Lnet/minecraft/class_10789;
      official b Lfxr;b:Lfxr;
  • Field Details

    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/gl/UniformType;name:Ljava/lang/String;
      intermediary field_56750 Lnet/minecraft/class_10789;field_56750:Ljava/lang/String;
      official c Lfxr;c:Ljava/lang/String;
  • Constructor Details

    • UniformType

      private UniformType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/UniformType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10789;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lfxr;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static UniformType[] 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 UniformType 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