Enum Class SimpleBufferBuilder.Format
java.lang.Object
java.lang.Enum<SimpleBufferBuilder.Format>
net.minecraftforge.fml.earlydisplay.SimpleBufferBuilder.Format
- All Implemented Interfaces:
- Serializable,- Comparable<SimpleBufferBuilder.Format>,- Constable
- Enclosing class:
- SimpleBufferBuilder
Specifies a combination of vertex elements.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbind()set up the attribute pointers for this format.voiddisable()Disables the vertex attributes this format contains.voidenable()Enables the vertex attributes this format contains.static SimpleBufferBuilder.FormatReturns the enum constant of this class with the specified name.static SimpleBufferBuilder.Format[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
POS
- 
POS_TEX
- 
POS_COLOR
- 
POS_TEX_COLOR
 
- 
- 
Field Details- 
types
- 
stridepublic final int stride
 
- 
- 
Constructor Details- 
Format
 
- 
- 
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
 
- 
bindpublic void bind()set up the attribute pointers for this format.Assumes that an array buffer is already bound and ready to go. 
- 
enablepublic void enable()Enables the vertex attributes this format contains.
- 
disablepublic void disable()Disables the vertex attributes this format contains.
 
-