Vertex Array Object (VAO)
More...
#include <vao.hpp>
|
| | VAO () |
| | Empty Constructor.
|
| |
| void | Init () |
| | Init Constructor.
|
| |
| unsigned int | GetVAO () |
| | Get the VAO.
|
| |
| void | Bind () |
| | Bind the VAO.
|
| |
| void | Unbind () |
| | Unbind the VAO.
|
| |
| void | Delete () |
| | Delete the VAO.
|
| |
| void | SetVertexData (Buffer buffer, unsigned int index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer) |
| | Set the vertex data.
|
| |
Vertex Array Object (VAO)
Wrapper for OpenGL Vertex Array Objects
Definition at line 44 of file vao.hpp.
◆ VAO()
| Brenta::Types::VAO::VAO |
( |
| ) |
|
|
inline |
Empty Constructor.
Does nothing
Definition at line 57 of file vao.hpp.
◆ Bind()
◆ Delete()
◆ GetVAO()
| unsigned int VAO::GetVAO |
( |
| ) |
|
◆ Init()
Init Constructor.
Creates a new VAO
Definition at line 33 of file vao.cpp.
◆ SetVertexData()
| void VAO::SetVertexData |
( |
Buffer | buffer, |
|
|
unsigned int | index, |
|
|
GLint | size, |
|
|
GLenum | type, |
|
|
GLboolean | normalized, |
|
|
GLsizei | stride, |
|
|
const void * | pointer ) |
Set the vertex data.
- Parameters
-
| buffer | The buffer object |
| index | The index of the vertex attribute |
| size | The number of components per attribute |
| type | The data type of each component |
| normalized | Whether the data should be normalized |
| stride | The byte offset between consecutive generic vertex attributes |
| pointer | The offset of the first component of the first generic vertex attribute in the array |
Definition at line 64 of file vao.cpp.
◆ Unbind()
◆ vao
| unsigned int Brenta::Types::VAO::vao |
The documentation for this class was generated from the following files: