![]() |
Stellarium 0.12.4
|
Describes a single vertex attribute (e.g. More...
#include <StelVertexAttribute.hpp>
Public Member Functions | |
StelVertexAttribute () | |
Default constructor so vectors can reallocate. More... | |
StelVertexAttribute (const QString &attributeString) | |
Construct a StelVertexAttribute from a string. More... | |
Static Public Member Functions | |
static QVector < StelVertexAttribute > | parseAttributes (const char *const attribsCString) |
Parse a string of comma separated vertex attributes to a vector of StelVertexAttribute. More... | |
Public Attributes | |
AttributeType | type |
Data type of the attribute. More... | |
AttributeInterpretation | interpretation |
Specifies how Renderer should interpret this attribute. More... | |
Describes a single vertex attribute (e.g.
2D vertex, 3D normal and so on).
Definition at line 94 of file StelVertexAttribute.hpp.
|
inline |
Default constructor so vectors can reallocate.
Definition at line 102 of file StelVertexAttribute.hpp.
|
inline |
Construct a StelVertexAttribute from a string.
The string must be in format "Type Interpretation" where Type matches a value of AttributeType enum without the "AttributeType_" prefix, and Interpretation matches a value of AttributeInterpretation enum without the "AttributeInterpretation_" prefix.
Definition at line 110 of file StelVertexAttribute.hpp.
|
inlinestatic |
Parse a string of comma separated vertex attributes to a vector of StelVertexAttribute.
Definition at line 152 of file StelVertexAttribute.hpp.
AttributeInterpretation StelVertexAttribute::interpretation |
Specifies how Renderer should interpret this attribute.
Definition at line 99 of file StelVertexAttribute.hpp.
AttributeType StelVertexAttribute::type |
Data type of the attribute.
Definition at line 97 of file StelVertexAttribute.hpp.