A class representing a buffer of vertices.
More...
#include <VertexBuffer.hpp>
template<GLint... Attr>
class lm::VertexBuffer< Attr >
A class representing a buffer of vertices.
- Template Parameters
-
Draw the vertex buffer
- Parameters
-
mode | The OpenGL draw mode, can be GL_TRIANGLES, GL_LINES or GL_POINTS |
template<GLint... Attr>
template<typename... Pack>
Push values onto the vertex buffer, according to the attributes
- Template Parameters
-
- Parameters
-
Send the vertex buffer into the GPU
The documentation for this class was generated from the following file: