Enum Class VertexFormatElement.Type

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

public static enum VertexFormatElement.Type extends Enum<VertexFormatElement.Type>
  • Enum Constant Details

  • Field Details

    • size

      private final int size
    • name

      private final String name
    • glType

      private final int glType
  • Constructor Details

    • Type

      private Type(int p_i46095_3_, String p_i46095_4_, int p_i46095_5_)
  • Method Details

    • values

      public static VertexFormatElement.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 VertexFormatElement.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
    • getSize

      public int getSize()
    • getName

      public String getName()
    • getGlType

      public int getGlType()