cinder::Buffer Class Reference
#include <Buffer.h>
List of all members.
Member Typedef Documentation
Emulates shared_ptr-like behavior.
Constructor & Destructor Documentation
cinder::Buffer::Buffer |
( |
|
) |
|
cinder::Buffer::Buffer |
( |
void * |
aBuffer, |
|
|
size_t |
aSize | |
|
) |
| | |
cinder::Buffer::Buffer |
( |
size_t |
size |
) |
|
Member Function Documentation
size_t cinder::Buffer::getAllocatedSize |
( |
|
) |
const |
size_t cinder::Buffer::getDataSize |
( |
|
) |
const |
void cinder::Buffer::setDataSize |
( |
size_t |
aSize |
) |
|
void* cinder::Buffer::getData |
( |
|
) |
|
const void* cinder::Buffer::getData |
( |
|
) |
const |
shared_ptr< uint8_t > cinder::Buffer::convertToSharedPtr |
( |
|
) |
|
Returns a shared_ptr for the data and gives up ownership of the data.
void cinder::Buffer::resize |
( |
size_t |
newSize |
) |
|
void cinder::Buffer::copyFrom |
( |
const void * |
aData, |
|
|
size_t |
length | |
|
) |
| | |
Emulates shared_ptr-like behavior.
void cinder::Buffer::reset |
( |
|
) |
|
Emulates shared_ptr-like behavior.
The documentation for this class was generated from the following files: