cinder::gl::Vbo Class Reference

#include <Vbo.h>

List of all members.

Classes

struct  Obj

Public Member Functions

 Vbo ()
 Vbo (GLenum aTarget)
void bind ()
void unbind ()
void bufferData (size_t size, const void *data, GLenum usage)
void bufferSubData (ptrdiff_t offset, size_t size, const void *data)
uint8_t * map (GLenum access)
void unmap ()
GLenum getTarget () const
GLuint getId () const

Protected Attributes

std::shared_ptr< ObjmObj

typedef std::shared_ptr< Obj >
Vbo::* 
unspecified_bool_type
 Emulates shared_ptr-like behavior.
 operator unspecified_bool_type () const
 Emulates shared_ptr-like behavior.
void reset ()
 Emulates shared_ptr-like behavior.

Member Typedef Documentation

typedef std::shared_ptr<Obj> Vbo::* cinder::gl::Vbo::unspecified_bool_type

Emulates shared_ptr-like behavior.


Constructor & Destructor Documentation

cinder::gl::Vbo::Vbo (  )
cinder::gl::Vbo::Vbo ( GLenum  aTarget )

Member Function Documentation

void cinder::gl::Vbo::bind (  )
void cinder::gl::Vbo::unbind (  )
void cinder::gl::Vbo::bufferData ( size_t  size,
const void *  data,
GLenum  usage 
)
void cinder::gl::Vbo::bufferSubData ( ptrdiff_t  offset,
size_t  size,
const void *  data 
)
uint8_t * cinder::gl::Vbo::map ( GLenum  access )
void cinder::gl::Vbo::unmap (  )
GLenum cinder::gl::Vbo::getTarget (  ) const
GLuint cinder::gl::Vbo::getId (  ) const
cinder::gl::Vbo::operator unspecified_bool_type (  ) const

Emulates shared_ptr-like behavior.

void cinder::gl::Vbo::reset (  )

Emulates shared_ptr-like behavior.


Member Data Documentation

std::shared_ptr<Obj> cinder::gl::Vbo::mObj [protected]

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