Gui::OpenGLMultiBuffer Class Reference

#include <GLBuffer.h>

Public Member Functions

void allocate (const void *data, int count)
 
bool bind ()
 
bool create ()
 
void destroy ()
 
GLuint getBufferId () const
 
bool isCreated (uint32_t ctx) const
 
 OpenGLMultiBuffer (GLenum type)
 
void release ()
 
void setCurrentContext (uint32_t ctx)
 
int size () const
 
 ~OpenGLMultiBuffer ()
 

Constructor & Destructor Documentation

◆ OpenGLMultiBuffer()

OpenGLMultiBuffer::OpenGLMultiBuffer ( GLenum  type)

◆ ~OpenGLMultiBuffer()

OpenGLMultiBuffer::~OpenGLMultiBuffer ( )

References destroy().

Member Function Documentation

◆ allocate()

void OpenGLMultiBuffer::allocate ( const void *  data,
int  count 
)

◆ bind()

bool OpenGLMultiBuffer::bind ( )

◆ create()

bool OpenGLMultiBuffer::create ( void  )

◆ destroy()

void OpenGLMultiBuffer::destroy ( )

Referenced by ~OpenGLMultiBuffer().

◆ getBufferId()

GLuint OpenGLMultiBuffer::getBufferId ( ) const

◆ isCreated()

bool OpenGLMultiBuffer::isCreated ( uint32_t  ctx) const

◆ release()

void OpenGLMultiBuffer::release ( )

◆ setCurrentContext()

void OpenGLMultiBuffer::setCurrentContext ( uint32_t  ctx)

◆ size()


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