Enum SoDrawBufferElement.SoDrawBufferTypes
- java.lang.Object
-
- java.lang.Enum<SoDrawBufferElement.SoDrawBufferTypes>
-
- com.openinventor.inventor.elements.SoDrawBufferElement.SoDrawBufferTypes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoDrawBufferElement.SoDrawBufferTypes>
- Enclosing class:
- SoDrawBufferElement
public static enum SoDrawBufferElement.SoDrawBufferTypes extends java.lang.Enum<SoDrawBufferElement.SoDrawBufferTypes> implements IntegerValuedEnum
Depth function mode as defined by OpenGL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACK
BACK_LEFT
BACK_RIGHT
FRONT
FRONT_AND_BACK
FRONT_LEFT
FRONT_RIGHT
LEFT
RIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoDrawBufferElement.SoDrawBufferTypes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoDrawBufferElement.SoDrawBufferTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoDrawBufferElement.SoDrawBufferTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FRONT_LEFT
public static final SoDrawBufferElement.SoDrawBufferTypes FRONT_LEFT
-
FRONT_RIGHT
public static final SoDrawBufferElement.SoDrawBufferTypes FRONT_RIGHT
-
BACK_LEFT
public static final SoDrawBufferElement.SoDrawBufferTypes BACK_LEFT
-
BACK_RIGHT
public static final SoDrawBufferElement.SoDrawBufferTypes BACK_RIGHT
-
FRONT
public static final SoDrawBufferElement.SoDrawBufferTypes FRONT
-
BACK
public static final SoDrawBufferElement.SoDrawBufferTypes BACK
-
LEFT
public static final SoDrawBufferElement.SoDrawBufferTypes LEFT
-
RIGHT
public static final SoDrawBufferElement.SoDrawBufferTypes RIGHT
-
FRONT_AND_BACK
public static final SoDrawBufferElement.SoDrawBufferTypes FRONT_AND_BACK
-
-
Method Detail
-
values
public static SoDrawBufferElement.SoDrawBufferTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoDrawBufferElement.SoDrawBufferTypes c : SoDrawBufferElement.SoDrawBufferTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoDrawBufferElement.SoDrawBufferTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoDrawBufferElement.SoDrawBufferTypes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-