public static enum SoBufferedShape.Usages extends java.lang.Enum<SoBufferedShape.Usages> implements IntegerValuedEnum
shapeUsage
field.
It is used to optimize the location of the data in GPU memory.Enum Constant and Description |
---|
DYNAMIC
The buffers are partially modified when a modification occurs.
|
STATIC
The shape is static or when updated the buffers are fully modified (contents replaced).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoBufferedShape.Usages |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoBufferedShape.Usages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoBufferedShape.Usages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoBufferedShape.Usages STATIC
public static final SoBufferedShape.Usages DYNAMIC
public static SoBufferedShape.Usages[] values()
for (SoBufferedShape.Usages c : SoBufferedShape.Usages.values()) System.out.println(c);
public static SoBufferedShape.Usages 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 nullpublic static SoBufferedShape.Usages valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com