This class represents a single vertex attribute in vertex description. More...
#include <Luminous/VertexAttribute.hpp>
Public Types | |
| enum | Type { Byte = GL_BYTE, Short = GL_SHORT, Int = GL_INT, Float = GL_FLOAT, Double = GL_DOUBLE, UnsignedByte = GL_UNSIGNED_BYTE, UnsignedShort = GL_UNSIGNED_SHORT, UnsignedInt = GL_UNSIGNED_INT } |
| Data type for a component. | |
Public Member Functions | |
| VertexAttribute () | |
| Construct an empty vertex attribute. | |
Public Attributes | |
| uint | count |
| Data count. | |
| QByteArray | name |
| Vertex attribute name. | |
| bool | normalized |
| Is the attribute normalized. | |
| uint | offset |
| Offset in bytes from the beginning of VertexArray. | |
| uint | size |
| Size of the vertex attribute in bytes. | |
| Type | type |
| Data-type. | |
This class represents a single vertex attribute in vertex description.