public interface ILspVertexAttribute
Modifier and Type | Interface and Description |
---|---|
static class |
ILspVertexAttribute.AttributeSemantics
Describes the semantics of a vertex attribute.
|
static class |
ILspVertexAttribute.AttributeType
Describes the primitive type used to store vertex attribute values.
|
Modifier and Type | Method and Description |
---|---|
int |
getComponentCount()
Returns the number of components used by this vertex attribute.
|
String |
getName()
Returns the name of this vertex attribute.
|
int |
getOffset()
Returns the offset (in bytes) from the start of the vertex array data
buffer to the first occurrence of this vertex attribute.
|
ILspVertexAttribute.AttributeSemantics |
getSemantics()
Returns the semantics of this vertex attribute.
|
int |
getStride()
Returns the distance (in bytes) between two consecutive elements of this
vertex attribute in memory.
|
ILspVertexAttribute.AttributeType |
getType()
Returns the primitive type of this vertex attribute.
|
boolean |
isInterleaved()
Returns true if the data of this attribute is interleaved with that of
other attributes.
|
boolean |
isNormalized()
For non-floating point attributes, indicates whether the attribute's
values should be normalized or not.
|
String getName()
ILspVertexAttribute.AttributeSemantics getSemantics()
ILspVertexAttribute.AttributeType getType()
int getComponentCount()
int getStride()
int getOffset()
boolean isInterleaved()
boolean isNormalized()