![]() |
Stellarium 0.12.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure |
Describes a single vertex attribute (e.g. More...
#include <StelVertexAttribute.hpp>
Public Member Functions | |
| StelVertexAttribute () | |
| Default constructor so vectors can reallocate. | |
| StelVertexAttribute (const QString &attributeString) | |
| Construct a StelVertexAttribute from a string. | |
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. | |
Public Attributes | |
| AttributeType | type |
| Data type of the attribute. | |
| AttributeInterpretation | interpretation |
| Specifies how Renderer should interpret this attribute. | |
Describes a single vertex attribute (e.g.
2D vertex, 3D normal and so on).
Definition at line 94 of file StelVertexAttribute.hpp.
| StelVertexAttribute::StelVertexAttribute | ( | ) | [inline] |
Default constructor so vectors can reallocate.
Definition at line 102 of file StelVertexAttribute.hpp.
| StelVertexAttribute::StelVertexAttribute | ( | const QString & | attributeString | ) | [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.
| static QVector<StelVertexAttribute> StelVertexAttribute::parseAttributes | ( | const char *const | attribsCString | ) | [inline, static] |
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.
1.6.3