public static enum SoGLRenderAction.InvalidateCacheModes extends java.lang.Enum<SoGLRenderAction.InvalidateCacheModes> implements IntegerValuedEnum
Enum Constant and Description |
---|
ALWAYS
Render caches are invalidated for each
SoSeparator node before its children are traversed. |
OFF
(Default) Render caches are handled normally.
|
ONCE
Render caches are invalidated for each
SoSeparator node before its children are traversed. |
Modifier and Type | Method and Description |
---|---|
static SoGLRenderAction.InvalidateCacheModes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoGLRenderAction.InvalidateCacheModes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoGLRenderAction.InvalidateCacheModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoGLRenderAction.InvalidateCacheModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoGLRenderAction.InvalidateCacheModes OFF
setInvalidateCacheMode()
.public static final SoGLRenderAction.InvalidateCacheModes ONCE
SoSeparator
node before its children are traversed.
The invalidate cache mode is automatically set to OFF after traversal. See setInvalidateCacheMode()
.public static final SoGLRenderAction.InvalidateCacheModes ALWAYS
SoSeparator
node before its children are traversed.
See setInvalidateCacheMode()
.public static SoGLRenderAction.InvalidateCacheModes[] values()
for (SoGLRenderAction.InvalidateCacheModes c : SoGLRenderAction.InvalidateCacheModes.values()) System.out.println(c);
public static SoGLRenderAction.InvalidateCacheModes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SoGLRenderAction.InvalidateCacheModes fromValue(int val)
valueOf(int)
instead.public static SoGLRenderAction.InvalidateCacheModes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com