Enum Class VertexFormatElement.Usage

java.lang.Object
java.lang.Enum<VertexFormatElement.Usage>
com.mojang.blaze3d.vertex.VertexFormatElement.Usage
All Implemented Interfaces:
Serializable, Comparable<VertexFormatElement.Usage>, Constable
Enclosing class:
VertexFormatElement

@Environment(CLIENT) public static enum VertexFormatElement.Usage extends Enum<VertexFormatElement.Usage>
Mappings:
Namespace Name
named com/mojang/blaze3d/vertex/VertexFormatElement$Usage
intermediary com/mojang/blaze3d/vertex/VertexFormatElement$Usage
official com/mojang/blaze3d/vertex/VertexFormatElement$Usage
  • Enum Constant Details Link icon

  • Field Details Link icon

    • name Link icon

      private final String name
  • Constructor Details Link icon

    • Usage Link icon

      private Usage(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lcom/mojang/blaze3d/vertex/VertexFormatElement$Usage;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lcom/mojang/blaze3d/vertex/VertexFormatElement$Usage;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lcom/mojang/blaze3d/vertex/VertexFormatElement$Usage;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details Link icon

    • values Link icon

      public static VertexFormatElement.Usage[] 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 VertexFormatElement.Usage 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
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Enum<VertexFormatElement.Usage>