Enum SoGLRenderAction.AbortCodes
- java.lang.Object
-
- java.lang.Enum<SoGLRenderAction.AbortCodes>
-
- com.openinventor.inventor.actions.SoGLRenderAction.AbortCodes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoGLRenderAction.AbortCodes>
- Enclosing class:
- SoGLRenderAction
public static enum SoGLRenderAction.AbortCodes extends java.lang.Enum<SoGLRenderAction.AbortCodes> implements IntegerValuedEnum
Possible return codes from a render abort callback.
-
-
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 SoGLRenderAction.AbortCodes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoGLRenderAction.AbortCodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoGLRenderAction.AbortCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final SoGLRenderAction.AbortCodes CONTINUE
Continue traversal as usual.
-
ABORT
public static final SoGLRenderAction.AbortCodes ABORT
Stop traversing the rest of the graph.
-
PRUNE
public static final SoGLRenderAction.AbortCodes PRUNE
Do not traverse this node or its children, but continue.
-
DELAY
public static final SoGLRenderAction.AbortCodes DELAY
Delay rendering of this node until the second pass.
-
-
Method Detail
-
values
public static SoGLRenderAction.AbortCodes[] 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 (SoGLRenderAction.AbortCodes c : SoGLRenderAction.AbortCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoGLRenderAction.AbortCodes 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 SoGLRenderAction.AbortCodes 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.
-
-