#include <Vbo.h>
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< Obj > | mObj |
| 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. | |
| typedef std::shared_ptr<Obj> Vbo::* cinder::gl::Vbo::unspecified_bool_type |
Emulates shared_ptr-like behavior.
| cinder::gl::Vbo::Vbo | ( | GLenum | aTarget | ) |
| 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.
std::shared_ptr<Obj> cinder::gl::Vbo::mObj [protected] |