Enum VertexFormatElement.Format

java.lang.Object
java.lang.Enum<VertexFormatElement.Format>
net.minecraft.client.render.VertexFormatElement.Format
All Implemented Interfaces:
Serializable, Comparable<VertexFormatElement.Format>, java.lang.constant.Constable
Enclosing class:
VertexFormatElement

@Environment(CLIENT)
public static enum VertexFormatElement.Format
extends Enum<VertexFormatElement.Format>
  • Enum Constant Details

  • Field Details

    • size

      private final int size
    • name

      private final String name
    • glId

      private final int glId
  • Constructor Details

    • Format

      private Format​(int size, String name, int glId)
  • Method Details

    • values

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

      public int getSize()
    • getName

      public String getName()
    • getGlId

      public int getGlId()