Package com.mojang.blaze3d.vertex
Enum Class VertexFormat.IndexType
- All Implemented Interfaces:
Serializable
,Comparable<VertexFormat.IndexType>
,Constable
- Enclosing class:
VertexFormat
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.IndexType
smallestFor
(int int2) static VertexFormat.IndexType
Returns the enum constant of this class with the specified name.static VertexFormat.IndexType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
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
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 nameNullPointerException
- if the argument is null
-
smallestFor
- 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;
-