Enum Class VertexFormat.IndexType

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

@Environment(CLIENT) public static enum VertexFormat.IndexType extends Enum<VertexFormat.IndexType>
Mappings:
Namespace Name
named com/mojang/blaze3d/vertex/VertexFormat$IndexType
intermediary com/mojang/blaze3d/vertex/VertexFormat$class_5595
official com/mojang/blaze3d/vertex/VertexFormat$a
  • Enum Constant Details

    • SHORT

      public static final VertexFormat.IndexType SHORT
      Mappings:
      Namespace Name Mixin selector
      named SHORT Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;SHORT:Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;
      intermediary field_27372 Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27372:Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;
      official a Lcom/mojang/blaze3d/vertex/VertexFormat$a;a:Lcom/mojang/blaze3d/vertex/VertexFormat$a;
    • INT

      public static final VertexFormat.IndexType INT
      Mappings:
      Namespace Name Mixin selector
      named INT Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;INT:Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;
      intermediary field_27373 Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27373:Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;
      official b Lcom/mojang/blaze3d/vertex/VertexFormat$a;b:Lcom/mojang/blaze3d/vertex/VertexFormat$a;
  • Field Details

    • size

      public final int size
      Mappings:
      Namespace Name Mixin selector
      named size Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;size:I
      intermediary field_27375 Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27375:I
      official c Lcom/mojang/blaze3d/vertex/VertexFormat$a;c:I
  • Constructor Details

    • IndexType

      private IndexType(int size)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;<init>(Ljava/lang/String;II)V
      intermediary <init> Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;<init>(Ljava/lang/String;II)V
      official <init> Lcom/mojang/blaze3d/vertex/VertexFormat$a;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static VertexFormat.IndexType[] 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.IndexType 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
    • smallestFor

      public static VertexFormat.IndexType smallestFor(int int2)
      Mappings:
      Namespace Name Mixin selector
      named smallestFor Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;smallestFor(I)Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;
      intermediary method_31972 Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;method_31972(I)Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;
      official a Lcom/mojang/blaze3d/vertex/VertexFormat$a;a(I)Lcom/mojang/blaze3d/vertex/VertexFormat$a;