Just™ Game Engine
|
#include <vertex_array.hpp>
Public Member Functions | |
VertexArray (const Ref< VertexBuffer > &vbo, const VertexLayout &layout) | |
~VertexArray () | |
void | bind () const |
void | unbind () const |
const Ref< VertexBuffer > & | getVertexBuffer () const |
void | setIndexBuffer (const Ref< IndexBuffer > &ibo) |
const Ref< IndexBuffer > & | getIndexBuffer () const |
jng::VertexArray::VertexArray | ( | const Ref< VertexBuffer > & | vbo, |
const VertexLayout & | layout | ||
) |
jng::VertexArray::~VertexArray | ( | ) |
void jng::VertexArray::bind | ( | ) | const |
|
inline |
|
inline |
void jng::VertexArray::setIndexBuffer | ( | const Ref< IndexBuffer > & | ibo | ) |
void jng::VertexArray::unbind | ( | ) | const |