GLider v0.1.0-2-g32ec02b
gli::VertexArray Class Reference

#include <VertexArray.hpp>

Inherits gli::OpenGLBase< Derived >.

Public Member Functions

 VertexArray () noexcept
 
 ~VertexArray () noexcept
 
void readBufferData (const Buffer< VertexBuffer > &vb, const Layout &layout, unsigned int startingAttribIndex=0)
 
void draw (DrawType mode, int first, int count) const noexcept
 

Friends

class OpenGLBase< VertexArray >
 

Constructor & Destructor Documentation

◆ VertexArray()

gli::VertexArray::VertexArray ( )
noexcept

◆ ~VertexArray()

gli::VertexArray::~VertexArray ( )
noexcept

Member Function Documentation

◆ draw()

void gli::VertexArray::draw ( DrawType  mode,
int  first,
int  count 
) const
noexcept

◆ readBufferData()

void gli::VertexArray::readBufferData ( const Buffer< VertexBuffer > &  vb,
const Layout layout,
unsigned int  startingAttribIndex = 0 
)

Friends And Related Function Documentation

◆ OpenGLBase< VertexArray >

friend class OpenGLBase< VertexArray >
friend

The documentation for this class was generated from the following file: