public static enum GL3AttributeStorage.StorageType extends java.lang.Enum<GL3AttributeStorage.StorageType>
Enum Constant and Description |
---|
FLOAT |
SIGNED_2_10_10_10_REV |
SIGNED_BYTE |
SIGNED_INT |
SIGNED_SHORT |
UNSIGNED_2_10_10_10_REV |
UNSIGNED_BYTE |
UNSIGNED_INT |
UNSIGNED_SHORT |
Modifier and Type | Method and Description |
---|---|
int |
bytes() |
int |
getGLType() |
static GL3AttributeStorage.StorageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GL3AttributeStorage.StorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GL3AttributeStorage.StorageType UNSIGNED_BYTE
public static final GL3AttributeStorage.StorageType UNSIGNED_SHORT
public static final GL3AttributeStorage.StorageType UNSIGNED_INT
public static final GL3AttributeStorage.StorageType SIGNED_BYTE
public static final GL3AttributeStorage.StorageType SIGNED_SHORT
public static final GL3AttributeStorage.StorageType SIGNED_INT
public static final GL3AttributeStorage.StorageType UNSIGNED_2_10_10_10_REV
public static final GL3AttributeStorage.StorageType SIGNED_2_10_10_10_REV
public static final GL3AttributeStorage.StorageType FLOAT
public static GL3AttributeStorage.StorageType[] values()
for (GL3AttributeStorage.StorageType c : GL3AttributeStorage.StorageType.values()) System.out.println(c);
public static GL3AttributeStorage.StorageType 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 int getGLType()
public int bytes()