template<class T> class osg::buffered_value

Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis

Public Methods

[more]inline buffered_value()
[more]buffered_value& operator = (const buffered_value& rhs)
[more]inline void setAllElementsTo(const T& t)
[more]inline void clear()
[more]inline bool empty() const
[more]inline unsigned int size() const
[more]inline T& operator[] (unsigned int pos)
[more]inline T operator[] (unsigned int pos) const

Protected Fields

[more]mutable std::vector<T> _array


Documentation

Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis
oinline buffered_value()

obuffered_value& operator = (const buffered_value& rhs)

oinline void setAllElementsTo(const T& t)

oinline void clear()

oinline bool empty() const

oinline unsigned int size() const

oinline T& operator[] (unsigned int pos)

oinline T operator[] (unsigned int pos) const

omutable std::vector<T> _array


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.