Package com.ardor3d.scenegraph.hint
Enum Class DataMode
- All Implemented Interfaces:
Serializable
,Comparable<DataMode>
,Constable
Enum used to describe how we prefer data to be sent to the card.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
Inherit
Use our parent's DataMode. If we do not have a parent, Arrays will be used. -
Arrays
Send each data buffer to the card using vertex arrays. -
VBO
Send each data buffer to the card using vertex buffer objects. This is usually faster than Arrays, but may not be supported on older cards. If not supported, Arrays is used by the Renderer.
-
-
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
-