Cinder  0.9.1
Public Member Functions | Public Attributes | List of all members
cinder::gl::VboMesh::MappedAttribBase::Mapping Struct Reference

#include <VboMesh.h>

Public Member Functions

 Mapping (VboMesh *mesh, const VboRef &vbo)
 
void refCountInc ()
 
bool refCountDec ()
 
void unmap ()
 
bool isMapped () const
 

Public Attributes

VboMeshmMesh
 
bool mMapped
 
VboRef mVbo
 
uint32_t mRefCount
 

Constructor & Destructor Documentation

cinder::gl::VboMesh::MappedAttribBase::Mapping::Mapping ( VboMesh mesh,
const VboRef vbo 
)

Member Function Documentation

void cinder::gl::VboMesh::MappedAttribBase::Mapping::refCountInc ( )
bool cinder::gl::VboMesh::MappedAttribBase::Mapping::refCountDec ( )

Returns true if this was the last reference.

void cinder::gl::VboMesh::MappedAttribBase::Mapping::unmap ( )
bool cinder::gl::VboMesh::MappedAttribBase::Mapping::isMapped ( ) const

Member Data Documentation

VboMesh* cinder::gl::VboMesh::MappedAttribBase::Mapping::mMesh
bool cinder::gl::VboMesh::MappedAttribBase::Mapping::mMapped
VboRef cinder::gl::VboMesh::MappedAttribBase::Mapping::mVbo
uint32_t cinder::gl::VboMesh::MappedAttribBase::Mapping::mRefCount

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