|
Untitled Game engine no.5
1.0
|
Interface for a buffer of vertices. More...
#include <Buffer.hpp>

Public Member Functions | |
| VertexBuffer () | |
| Constructor. | |
| virtual | ~VertexBuffer () |
| Constructor. | |
| virtual void | Bind ()=0 |
| Binds this vertex buffer for drawing. | |
| virtual void | Unbind ()=0 |
| Binds nothing for drawing. | |
| virtual void | Load (float verts[], std::size_t size)=0 |
| virtual std::size_t | GetSize ()=0 |
Interface for a buffer of vertices.
|
pure virtual |
Loads vertices into this buffer
| verts | the vertices for this buffer |
| size | the size of the array we are loading |
Implemented in Engine::GLVertexBuffer.
1.8.17