public static enum ILspVertexAttribute.AttributeType extends Enum<ILspVertexAttribute.AttributeType>
Enum Constant and Description |
---|
BYTE
This vertex attribute is represented by bytes.
|
DOUBLE
This vertex attribute is represented by doubles.
|
FLOAT
This vertex attribute is represented by floats.
|
INT
This vertex attribute is represented by ints.
|
SHORT
This vertex attribute is represented by shorts.
|
Modifier and Type | Method and Description |
---|---|
int |
getSizeInBytes()
Returns the size of a single value of this primitive type in bytes.
|
static ILspVertexAttribute.AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILspVertexAttribute.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILspVertexAttribute.AttributeType BYTE
public static final ILspVertexAttribute.AttributeType SHORT
public static final ILspVertexAttribute.AttributeType INT
public static final ILspVertexAttribute.AttributeType FLOAT
public static final ILspVertexAttribute.AttributeType DOUBLE
public static ILspVertexAttribute.AttributeType[] values()
for (ILspVertexAttribute.AttributeType c : ILspVertexAttribute.AttributeType.values()) System.out.println(c);
public static ILspVertexAttribute.AttributeType 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 nullpublic int getSizeInBytes()