Package com.openinventor.inventor
Enum SoDB.RenderCacheModes
- java.lang.Object
-
- java.lang.Enum<SoDB.RenderCacheModes>
-
- com.openinventor.inventor.SoDB.RenderCacheModes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoDB.RenderCacheModes>
- Enclosing class:
- SoDB
public static enum SoDB.RenderCacheModes extends java.lang.Enum<SoDB.RenderCacheModes> implements IntegerValuedEnum
Deprecated.As of Open Inventor 10300. RenderCacheMode is no longer used.Render cache modes.Warning Deprecated since Open Inventor 10300. RenderCacheMode is no longer used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_RENDER_CACHE
Deprecated.Automatically choose mode depending on the hardware.COMPILE
Deprecated.Display lists are created with COMPILE mode.COMPILE_AND_EXECUTE
Deprecated.Display lists are created with COMPILE_AND_EXECUTE mode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getValue()
Deprecated.Returns the integer value of the enum constant.static SoDB.RenderCacheModes
valueOf(int val)
Deprecated.Returns the enum constant of this type with the specified integer valuestatic SoDB.RenderCacheModes
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static SoDB.RenderCacheModes[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPILE
public static final SoDB.RenderCacheModes COMPILE
Deprecated.Display lists are created with COMPILE mode.
-
COMPILE_AND_EXECUTE
public static final SoDB.RenderCacheModes COMPILE_AND_EXECUTE
Deprecated.Display lists are created with COMPILE_AND_EXECUTE mode.
-
AUTO_RENDER_CACHE
public static final SoDB.RenderCacheModes AUTO_RENDER_CACHE
Deprecated.Automatically choose mode depending on the hardware. (Default).
-
-
Method Detail
-
values
public static SoDB.RenderCacheModes[] values()
Deprecated.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 (SoDB.RenderCacheModes c : SoDB.RenderCacheModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoDB.RenderCacheModes valueOf(java.lang.String name)
Deprecated.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 SoDB.RenderCacheModes valueOf(int val)
Deprecated.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()
Deprecated.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.
-
-