Enum Class VertexFormat.Mode

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

public static enum VertexFormat.Mode extends Enum<VertexFormat.Mode>
  • Enum Constant Details

  • Field Details

    • asGLMode

      public final int asGLMode
    • primitiveLength

      public final int primitiveLength
    • primitiveStride

      public final int primitiveStride
  • Constructor Details

    • Mode

      private Mode(int p_166954_, int p_166955_, int p_166956_)
  • Method Details

    • values

      public static VertexFormat.Mode[] 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 VertexFormat.Mode 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
    • indexCount

      public int indexCount(int p_166959_)