# Cinder

# 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
shared_ptr< Obj > | mObj
typedef shared_ptr< Obj > Vbo::* | unspecified_bool_type
| Emulates shared_ptr-like behavior.
| operator unspecified_bool_type ()
| Emulates shared_ptr-like behavior.
void | reset ()
| Emulates shared_ptr-like behavior.

## Member Typedef Documentation

typedef 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 | ( |  | ) |

Emulates shared_ptr-like behavior.

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

Emulates shared_ptr-like behavior.

## Member Data Documentation

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

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

- include/cinder/gl/Vbo.h
- src/cinder/gl/Vbo.cpp