|
Vivid
|
A class for the VertexArray. More...
#include <VertexArray.h>
Public Member Functions | |
| void | AddVertexBuffer (const VertexBuffer &vb, const VertexBufferLayout &layout, const Vector< Vertex > &vertices) |
| void | AddIndexBuffer (const IndexBuffer &ib) |
| void | Bind () const |
| void | Unbind () const |
Static Public Member Functions | |
| static Ref< VertexArray > | Create () |
A class for the VertexArray.
VertexArray is a class that contains the vertex buffer and the index buffer. For more information read the OpenGL documentation.
Definition at line 14 of file VertexArray.h.
| Vivid::VertexArray::VertexArray | ( | ) |
Definition at line 5 of file VertexArray.cpp.
| Vivid::VertexArray::~VertexArray | ( | ) |
Definition at line 11 of file VertexArray.cpp.
| void Vivid::VertexArray::AddIndexBuffer | ( | const IndexBuffer & | ib | ) |
Definition at line 32 of file VertexArray.cpp.
| void Vivid::VertexArray::AddVertexBuffer | ( | const VertexBuffer & | vb, |
| const VertexBufferLayout & | layout, | ||
| const Vector< Vertex > & | vertices | ||
| ) |
Definition at line 15 of file VertexArray.cpp.
| void Vivid::VertexArray::Bind | ( | ) | const |
Definition at line 38 of file VertexArray.cpp.
|
static |
Definition at line 48 of file VertexArray.cpp.
| void Vivid::VertexArray::Unbind | ( | ) | const |
Definition at line 43 of file VertexArray.cpp.