Untitled Game engine no.5
1.0
|
Interface for a buffer of indices. More...
#include <Buffer.hpp>
Public Member Functions | |
IndexBuffer () | |
Constructor. | |
virtual | ~IndexBuffer () |
Destructor. | |
virtual void | Bind ()=0 |
Binds this vertex buffer for drawing. | |
virtual void | Unbind ()=0 |
Binds nothing for drawing. | |
virtual void | Load (unsigned int inds[], std::size_t size)=0 |
virtual std::size_t | GetSize ()=0 |
Interface for a buffer of indices.
|
pure virtual |
Loads vertices into this buffer
inds | the indices for this buffer |
size | the size of the array we are loading |
Implemented in Engine::GLIndexBuffer.