Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Buffer.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| Buffer () | |
| Buffer (const Buffer &other) | |
| Buffer & | operator= (const Buffer &other) |
| void | swap (Buffer &other) |
| ~Buffer () | |
| void | clear () |
| void | resize (int byte_count, int alignment=0) |
| int | bytesUsed () const |
| bool | empty () const |
| unsigned char * | ptr () |
| const unsigned char * | ptr () const |
| int | alignment () const |
Static Public Member Functions | |
| static void * | alignedMalloc (int bytes, int alignment) |
| static void | alignedFree (void *ptr) |
Protected Attributes | |
| unsigned char * | mPtr |
| int | mByteCount |
| int | mAlignment |
| vl::Buffer::Buffer | ( | ) | [inline] |
| vl::Buffer::Buffer | ( | const Buffer & | other | ) | [inline] |
| vl::Buffer::~Buffer | ( | ) | [inline] |
| virtual const char* vl::Buffer::className | ( | ) | [inline, virtual] |
| void vl::Buffer::swap | ( | Buffer & | other | ) | [inline] |
| void vl::Buffer::clear | ( | ) | [inline] |
| void vl::Buffer::resize | ( | int | byte_count, | |
| int | alignment = 0 | |||
| ) | [inline] |
| int vl::Buffer::bytesUsed | ( | ) | const [inline] |
| bool vl::Buffer::empty | ( | ) | const [inline] |
| unsigned char* vl::Buffer::ptr | ( | ) | [inline] |
| const unsigned char* vl::Buffer::ptr | ( | ) | const [inline] |
| int vl::Buffer::alignment | ( | ) | const [inline] |
| static void* vl::Buffer::alignedMalloc | ( | int | bytes, | |
| int | alignment | |||
| ) | [inline, static] |
| static void vl::Buffer::alignedFree | ( | void * | ptr | ) | [inline, static] |
unsigned char* vl::Buffer::mPtr [protected] |
int vl::Buffer::mByteCount [protected] |
int vl::Buffer::mAlignment [protected] |