public static enum ILspVertexAttribute.AttributeSemantics extends Enum<ILspVertexAttribute.AttributeSemantics>
Enum Constant and Description |
---|
COLOR
This vertex attribute describes the color of a vertex.
|
NORMAL
This vertex attribute describes the normal vector of a vertex.
|
OTHER
This vertex attribute is used for all other (custom) vertex attributes.
|
POSITION
This vertex attribute describes the position of a vertex.
|
TEXTURE_COORDINATES
This vertex attribute describes the texture coordinates of a vertex.
|
Modifier and Type | Method and Description |
---|---|
static ILspVertexAttribute.AttributeSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILspVertexAttribute.AttributeSemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILspVertexAttribute.AttributeSemantics POSITION
public static final ILspVertexAttribute.AttributeSemantics TEXTURE_COORDINATES
public static final ILspVertexAttribute.AttributeSemantics COLOR
public static final ILspVertexAttribute.AttributeSemantics NORMAL
public static final ILspVertexAttribute.AttributeSemantics OTHER
public static ILspVertexAttribute.AttributeSemantics[] values()
for (ILspVertexAttribute.AttributeSemantics c : ILspVertexAttribute.AttributeSemantics.values()) System.out.println(c);
public static ILspVertexAttribute.AttributeSemantics 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 null