OpenSceneGraph
|
Implements a simple buffered value for values that need to be buffered on a per graphics context basis. More...
Public Member Functions | |
buffered_value (unsigned int size) | |
buffered_value & | operator= (const buffered_value &rhs) |
void | setAllElementsTo (const T &t) |
void | clear () |
bool | empty () const |
unsigned int | size () const |
void | resize (unsigned int newSize) |
T & | operator[] (unsigned int pos) |
T | operator[] (unsigned int pos) const |
Protected Attributes | |
std::vector< T > | _array |
Implements a simple buffered value for values that need to be buffered on a per graphics context basis.