public enum JCGLUsageHint extends Enum<JCGLUsageHint>
Enum Constant and Description |
---|
USAGE_DYNAMIC_COPY
The data store contents will be respecified repeatedly by reading data from
the GL, and used many times as the source for GL drawing and image
specification commands.
|
USAGE_DYNAMIC_DRAW
The data store contents will be respecified repeatedly by the application,
and used many times as the source for GL drawing and image specification
commands.
|
USAGE_DYNAMIC_READ
The data store contents will be respecified repeatedly by reading data from
the GL, and queried many times by the application.
|
USAGE_STATIC_COPY
The data store contents will be specified once by reading data from the GL,
and used many times as the source for GL drawing and image specification
commands.
|
USAGE_STATIC_DRAW
The data store contents will be specified once by the application, and used
many times as the source for GL drawing and image specification commands.
|
USAGE_STATIC_READ
The data store contents will be specified once by reading data from the GL,
and queried many times by the application.
|
USAGE_STREAM_COPY
The data store contents will be specified once by reading data from the GL,
and used at most a few times as the source for GL drawing and image
specification commands.
|
USAGE_STREAM_DRAW
The data store contents will be specified once by the application, and used
at most a few times as the source for GL drawing and image specification
commands.
|
USAGE_STREAM_READ
The data store contents will be specified once by reading data from the GL,
and queried at most a few times by the application.
|
Modifier and Type | Method and Description |
---|---|
static JCGLUsageHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLUsageHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLUsageHint USAGE_DYNAMIC_COPY
public static final JCGLUsageHint USAGE_DYNAMIC_DRAW
public static final JCGLUsageHint USAGE_DYNAMIC_READ
public static final JCGLUsageHint USAGE_STATIC_COPY
public static final JCGLUsageHint USAGE_STATIC_DRAW
public static final JCGLUsageHint USAGE_STATIC_READ
public static final JCGLUsageHint USAGE_STREAM_COPY
public static final JCGLUsageHint USAGE_STREAM_DRAW
public static final JCGLUsageHint USAGE_STREAM_READ
public static JCGLUsageHint[] values()
for (JCGLUsageHint c : JCGLUsageHint.values()) System.out.println(c);
public static JCGLUsageHint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 <code@io7m.com> http://io7m.com