Package com.mojang.blaze3d.vertex
Enum Class VertexFormatElement.Usage
- All Implemented Interfaces:
- Serializable,- Comparable<VertexFormatElement.Usage>,- Constable
- Enclosing class:
- VertexFormatElement
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static interface(package private) static interfaceNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final VertexFormatElement.Usage.ClearStateprivate final Stringprivate final VertexFormatElement.Usage.SetupState
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateUsage(String p_166975_, VertexFormatElement.Usage.SetupState p_166976_, VertexFormatElement.Usage.ClearState p_166977_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearBufferState(int p_166979_, int p_166980_) getName()(package private) voidsetupBufferState(int p_166982_, int p_166983_, int p_166984_, long p_166985_, int p_166986_, int p_166987_) static VertexFormatElement.UsageReturns 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.
- 
Enum Constant Details- 
POSITION
- 
NORMAL
- 
COLOR
- 
UV
- 
PADDING
- 
GENERIC
 
- 
- 
Field Details- 
name
- 
setupState
- 
clearState
 
- 
- 
Constructor Details- 
Usageprivate Usage(String p_166975_, VertexFormatElement.Usage.SetupState p_166976_, VertexFormatElement.Usage.ClearState p_166977_) 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
setupBufferStatevoid setupBufferState(int p_166982_, int p_166983_, int p_166984_, long p_166985_, int p_166986_, int p_166987_) 
- 
clearBufferStatepublic void clearBufferState(int p_166979_, int p_166980_) 
- 
getName
 
-