Package com.mojang.blaze3d.vertex
Enum Class VertexFormatElement.Usage
- All Implemented Interfaces:
Serializable
,Comparable<VertexFormatElement.Usage>
,Constable
,IExtensibleEnum
- Enclosing class:
VertexFormatElement
public static enum VertexFormatElement.Usage
extends Enum<VertexFormatElement.Usage>
implements IExtensibleEnum
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final VertexFormatElement.Usage.ClearState
private final String
private final VertexFormatElement.Usage.SetupState
-
Constructor Summary
ModifierConstructorDescriptionprivate
Usage
(String p_166975_, VertexFormatElement.Usage.SetupState p_166976_, VertexFormatElement.Usage.ClearState p_166977_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearBufferState
(int p_166979_, int p_166980_) static VertexFormatElement.Usage
create
(String name, String usageName, VertexFormatElement.Usage.SetupState setupState, VertexFormatElement.Usage.ClearState clearState) getName()
(package private) void
setupBufferState
(int p_166982_, int p_166983_, int p_166984_, long p_166985_, int p_166986_, int p_166987_) static VertexFormatElement.Usage
Returns the enum constant of this class with the specified name.static VertexFormatElement.Usage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.neoforged.neoforge.common.IExtensibleEnum
init
-
Enum Constant Details
-
POSITION
-
NORMAL
-
COLOR
-
UV
-
PADDING
-
GENERIC
-
-
Field Details
-
name
-
setupState
-
clearState
-
-
Constructor Details
-
Usage
private Usage(String p_166975_, VertexFormatElement.Usage.SetupState p_166976_, VertexFormatElement.Usage.ClearState p_166977_)
-
-
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
-
setupBufferState
void setupBufferState(int p_166982_, int p_166983_, int p_166984_, long p_166985_, int p_166986_, int p_166987_) -
clearBufferState
public void clearBufferState(int p_166979_, int p_166980_) -
getName
-
create
public static VertexFormatElement.Usage create(String name, String usageName, VertexFormatElement.Usage.SetupState setupState, VertexFormatElement.Usage.ClearState clearState)
-