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$IndexTypeintermediary com/mojang/blaze3d/vertex/VertexFormat$class_5595official 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.IndexTypesmallestFor(int int2) static VertexFormat.IndexTypeReturns 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 SHORTLcom/mojang/blaze3d/vertex/VertexFormat$IndexType;SHORT:Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;intermediary field_27372Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27372:Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;official aLcom/mojang/blaze3d/vertex/VertexFormat$a;a:Lcom/mojang/blaze3d/vertex/VertexFormat$a;
-
INT
- Mappings:
Namespace Name Mixin selector named INTLcom/mojang/blaze3d/vertex/VertexFormat$IndexType;INT:Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;intermediary field_27373Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27373:Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;official bLcom/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 sizeLcom/mojang/blaze3d/vertex/VertexFormat$IndexType;size:Iintermediary field_27375Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;field_27375:Iofficial cLcom/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)Vintermediary <init>Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;<init>(Ljava/lang/String;II)Vofficial <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 smallestForLcom/mojang/blaze3d/vertex/VertexFormat$IndexType;smallestFor(I)Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;intermediary method_31972Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;method_31972(I)Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;official aLcom/mojang/blaze3d/vertex/VertexFormat$a;a(I)Lcom/mojang/blaze3d/vertex/VertexFormat$a;
-