|
OSG
3.4.0
|
#include <BufferObject.h>


Classes | |
| struct | BufferEntry |
Static Public Member Functions | |
| static osg::ref_ptr < GLBufferObject > | createGLBufferObject (unsigned int contextID, const BufferObject *bufferObject) |
| static void | deleteAllBufferObjects (unsigned int contextID) |
| static void | discardAllBufferObjects (unsigned int contextID) |
| static void | flushAllDeletedBufferObjects (unsigned int contextID) |
| static void | discardAllDeletedBufferObjects (unsigned int contextID) |
| static void | flushDeletedBufferObjects (unsigned int contextID, double currentTime, double &availbleTime) |
| static void | releaseGLBufferObject (unsigned int contextID, GLBufferObject *to) |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Public Attributes | |
| GLBufferObjectSet * | _set |
| GLBufferObject * | _previous |
| GLBufferObject * | _next |
| unsigned int | _frameLastUsed |
| GLExtensions * | _extensions |
Protected Types | |
| typedef std::vector< BufferEntry > | BufferEntries |
Protected Member Functions | |
| virtual | ~GLBufferObject () |
| unsigned int | computeBufferAlignment (unsigned int pos, unsigned int bufferAlignment) const |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| unsigned int | _contextID |
| GLuint | _glObjectID |
| BufferObjectProfile | _profile |
| unsigned int | _allocatedSize |
| bool | _dirty |
| BufferEntries | _bufferEntries |
| BufferObject * | _bufferObject |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Definition at line 154 of file BufferObject.h.
|
protected |
Definition at line 256 of file BufferObject.h.
| osg::GLBufferObject::GLBufferObject | ( | unsigned int | contextID, |
| BufferObject * | bufferObject, | ||
| unsigned int | glObjectID = 0 |
||
| ) |
|
protectedvirtual |
| void osg::GLBufferObject::assign | ( | BufferObject * | bufferObject | ) |
|
inline |
Definition at line 755 of file BufferObject.h.


| void osg::GLBufferObject::clear | ( | ) |
| void osg::GLBufferObject::compileBuffer | ( | ) |

|
inlineprotected |
Definition at line 241 of file BufferObject.h.
|
static |

|
static |
| void osg::GLBufferObject::deleteGLObject | ( | ) |
|
inline |
Definition at line 212 of file BufferObject.h.
|
static |
|
static |
|
static |
|
static |
|
inline |
Definition at line 164 of file BufferObject.h.
|
inline |
Definition at line 197 of file BufferObject.h.
|
inline |
Definition at line 199 of file BufferObject.h.
|
inline |
Definition at line 200 of file BufferObject.h.
|
inline |
|
inline |
Definition at line 161 of file BufferObject.h.
| bool osg::GLBufferObject::hasAllBufferDataBeenRead | ( | ) | const |
|
inline |
|
inline |
Definition at line 222 of file BufferObject.h.
|
static |
| void osg::GLBufferObject::setBufferDataHasBeenRead | ( | const osg::BufferData * | bd | ) |
| void osg::GLBufferObject::setBufferObject | ( | BufferObject * | bufferObject | ) |
|
inline |
Definition at line 160 of file BufferObject.h.
|
inline |
Definition at line 205 of file BufferObject.h.
|
protected |
Definition at line 252 of file BufferObject.h.
|
protected |
Definition at line 257 of file BufferObject.h.
|
protected |
Definition at line 259 of file BufferObject.h.
|
protected |
Definition at line 248 of file BufferObject.h.
|
protected |
Definition at line 254 of file BufferObject.h.
| GLExtensions* osg::GLBufferObject::_extensions |
Definition at line 269 of file BufferObject.h.
| unsigned int osg::GLBufferObject::_frameLastUsed |
Definition at line 266 of file BufferObject.h.
|
protected |
Definition at line 249 of file BufferObject.h.
| GLBufferObject* osg::GLBufferObject::_next |
Definition at line 265 of file BufferObject.h.
| GLBufferObject* osg::GLBufferObject::_previous |
Definition at line 264 of file BufferObject.h.
|
protected |
Definition at line 251 of file BufferObject.h.
| GLBufferObjectSet* osg::GLBufferObject::_set |
Definition at line 263 of file BufferObject.h.
1.8.8