public static enum J3DBuffer.BufferType extends java.lang.Enum<J3DBuffer.BufferType>
Enum Constant and Description |
---|
BYTE
Specifies a J3DBuffer object with a wrapped NIO ByteBuffer object.
|
DOUBLE
Specifies a J3DBuffer object with a wrapped NIO DoubleBuffer object.
|
FLOAT
Specifies a J3DBuffer object with a wrapped NIO FloatBuffer object.
|
NULL
Specifies a J3DBuffer object with a null NIO buffer object.
|
Modifier and Type | Method and Description |
---|---|
static J3DBuffer.BufferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static J3DBuffer.BufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final J3DBuffer.BufferType NULL
public static final J3DBuffer.BufferType BYTE
public static final J3DBuffer.BufferType DOUBLE
public static final J3DBuffer.BufferType FLOAT
public static J3DBuffer.BufferType[] values()
for (J3DBuffer.BufferType c : J3DBuffer.BufferType.values()) System.out.println(c);
public static J3DBuffer.BufferType 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