|
Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine. GitHub | Vesper Updates | Creator |
An abstraction for a vertex array object (VAO). More...
#include <VertexArray.h>
Public Member Functions | |
| virtual | ~VertexArray () |
| virtual void | Bind () const =0 |
| virtual void | Unbind () const =0 |
| virtual void | AddVertexBuffer (const Ref< VertexBuffer > &vertexBuffer)=0 |
| Adds a vertex buffer to the vertex array. | |
| virtual void | SetIndexBuffer (const Ref< IndexBuffer > &indexBuffer)=0 |
| Sets the index buffer for the vertex array. | |
| virtual const std::vector< Ref< VertexBuffer > > & | GetVertexBuffers ()=0 |
| virtual const Ref< IndexBuffer > & | GetIndexBuffer () const =0 |
Static Public Member Functions | |
| static Ref< VertexArray > | Create () |
An abstraction for a vertex array object (VAO).
|
inlinevirtual |
|
pure virtual |
Adds a vertex buffer to the vertex array.
Implemented in Vesper::OpenGLVertexArray.
|
pure virtual |
Implemented in Vesper::OpenGLVertexArray.
|
static |
References Vesper::Renderer::GetAPI(), Vesper::RendererAPI::None, and Vesper::RendererAPI::OpenGL.
|
pure virtual |
Implemented in Vesper::OpenGLVertexArray.
|
pure virtual |
Implemented in Vesper::OpenGLVertexArray.
|
pure virtual |
Sets the index buffer for the vertex array.
Implemented in Vesper::OpenGLVertexArray.
|
pure virtual |
Implemented in Vesper::OpenGLVertexArray.