public static enum SoGLBufferObject.Usages extends java.lang.Enum<SoGLBufferObject.Usages> implements IntegerValuedEnum
Enum Constant and Description |
---|
DYNAMIC_COPY
The data store contents will be modified repeatedly and used many times.
|
DYNAMIC_DRAW
The data store contents will be modified repeatedly and used many times.
|
DYNAMIC_READ
The data store contents will be modified repeatedly and used many times.
|
STATIC_COPY
The data store contents will be modified once and used many times.
|
STATIC_DRAW
The data store contents will be modified once and used many times.
|
STATIC_READ
The data store contents will be modified once and used many times.
|
STREAM_COPY
The data store contents will be modified once and used at most a few times.
|
STREAM_DRAW
The data store contents will be modified once and used at most a few times.
|
STREAM_READ
The data store contents will be modified once and used at most a few times.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoGLBufferObject.Usages |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoGLBufferObject.Usages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoGLBufferObject.Usages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoGLBufferObject.Usages STREAM_DRAW
public static final SoGLBufferObject.Usages STREAM_READ
public static final SoGLBufferObject.Usages STREAM_COPY
public static final SoGLBufferObject.Usages STATIC_DRAW
public static final SoGLBufferObject.Usages STATIC_READ
public static final SoGLBufferObject.Usages STATIC_COPY
public static final SoGLBufferObject.Usages DYNAMIC_DRAW
public static final SoGLBufferObject.Usages DYNAMIC_READ
public static final SoGLBufferObject.Usages DYNAMIC_COPY
public static SoGLBufferObject.Usages[] values()
for (SoGLBufferObject.Usages c : SoGLBufferObject.Usages.values()) System.out.println(c);
public static SoGLBufferObject.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 SoGLBufferObject.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