OpenSceneGraph
Public Member Functions | Protected Attributes | List of all members
osg::buffered_value< T > Class Template Reference

Implements a simple buffered value for values that need to be buffered on a per graphics context basis. More...

Collaboration diagram for osg::buffered_value< T >:
Collaboration graph
[legend]

Public Member Functions

 buffered_value (unsigned int size)
 
buffered_valueoperator= (const buffered_value &rhs)
 
void setAllElementsTo (const T &t)
 
void clear ()
 
bool empty () const
 
unsigned int size () const
 
void resize (unsigned int newSize)
 
Toperator[] (unsigned int pos)
 
T operator[] (unsigned int pos) const
 

Protected Attributes

std::vector< T_array
 

Detailed Description

template<class T>
class osg::buffered_value< T >

Implements a simple buffered value for values that need to be buffered on a per graphics context basis.


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