OpenGL implementation of VertexDescription.
More...
#include <OpenGLVertexDescription.hpp>
OpenGL implementation of VertexDescription.
◆ OpenGLVertexDescription()
| Video::OpenGLVertexDescription::OpenGLVertexDescription |
( |
unsigned int |
attributeCount, |
|
|
const VertexDescription::Attribute * |
attributes, |
|
|
bool |
indexBuffer |
|
) |
| |
Create new OpenGL vertex description.
- Parameters
-
| attributeCount | The number of vertex attributes. |
| attributes | The array of attributes. |
| indexBuffer | Whether to use an index buffer. |
◆ ~OpenGLVertexDescription()
| Video::OpenGLVertexDescription::~OpenGLVertexDescription |
( |
| ) |
|
|
final |
◆ GetAttributes()
Get the attributes.
- Returns
- Descriptions of the attributes in the vertex buffer(s).
◆ GetStride()
| unsigned int Video::OpenGLVertexDescription::GetStride |
( |
| ) |
const |
Get the stride between vertices.
- Returns
- The stride between vertices in bytes.
The documentation for this class was generated from the following files: