OrbitEngine::Graphics::GLVertexArrays class

Public static functions

static auto TopologyToGL(Topology topology) -> GLenum

Constructors, destructors, conversion operators

GLVertexArrays(Topology topology)
~GLVertexArrays()

Public functions

void setTopology(Topology topology)
void push(VertexBuffer* buffer)
void bind() const
void drawElements(const unsigned int count, const unsigned int offset) const
void drawArrays(const unsigned int count, const unsigned int offset) const