|
OpenSceneGraph
3.4.0
|

Classes | |
| struct | BufferEntry |
Public Member Functions | |
| GLBufferObject (unsigned int contextID, BufferObject *bufferObject, unsigned int glObjectID=0) | |
| void | setProfile (const BufferObjectProfile &profile) |
| const BufferObjectProfile & | getProfile () const |
| void | setBufferObject (BufferObject *bufferObject) |
| BufferObject * | getBufferObject () |
| unsigned int | getContextID () const |
| GLuint & | getGLObjectID () |
| GLuint | getGLObjectID () const |
| GLsizeiptr | getOffset (unsigned int i) const |
| void | bindBuffer () |
| void | unbindBuffer () |
| bool | isDirty () const |
| void | dirty () |
| void | clear () |
| void | compileBuffer () |
| void | deleteGLObject () |
| void | assign (BufferObject *bufferObject) |
| bool | isPBOSupported () const |
| bool | hasAllBufferDataBeenRead () const |
| void | setBufferDataHasBeenRead (const osg::BufferData *bd) |
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) |
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 Attributes | |
| unsigned int | _contextID |
| GLuint | _glObjectID |
| BufferObjectProfile | _profile |
| unsigned int | _allocatedSize |
| bool | _dirty |
| BufferEntries | _bufferEntries |
| BufferObject * | _bufferObject |
typedef std::vector<BufferEntry> osg::GLBufferObject::BufferEntries [protected] |
| osg::GLBufferObject::GLBufferObject | ( | unsigned int | contextID, |
| BufferObject * | bufferObject, | ||
| unsigned int | glObjectID = 0 |
||
| ) |
| virtual osg::GLBufferObject::~GLBufferObject | ( | ) | [protected, virtual] |
| void osg::GLBufferObject::assign | ( | BufferObject * | bufferObject | ) |
| void osg::GLBufferObject::bindBuffer | ( | ) | [inline] |
| unsigned int osg::GLBufferObject::computeBufferAlignment | ( | unsigned int | pos, |
| unsigned int | bufferAlignment | ||
| ) | const [inline, protected] |
| static osg::ref_ptr<GLBufferObject> osg::GLBufferObject::createGLBufferObject | ( | unsigned int | contextID, |
| const BufferObject * | bufferObject | ||
| ) | [static] |
Referenced by osg::BufferObject::getOrCreateGLBufferObject().
| static void osg::GLBufferObject::deleteAllBufferObjects | ( | unsigned int | contextID | ) | [static] |
| void osg::GLBufferObject::dirty | ( | ) | [inline] |
| static void osg::GLBufferObject::discardAllBufferObjects | ( | unsigned int | contextID | ) | [static] |
| static void osg::GLBufferObject::discardAllDeletedBufferObjects | ( | unsigned int | contextID | ) | [static] |
| static void osg::GLBufferObject::flushAllDeletedBufferObjects | ( | unsigned int | contextID | ) | [static] |
| static void osg::GLBufferObject::flushDeletedBufferObjects | ( | unsigned int | contextID, |
| double | currentTime, | ||
| double & | availbleTime | ||
| ) | [static] |
| BufferObject* osg::GLBufferObject::getBufferObject | ( | ) | [inline] |
| unsigned int osg::GLBufferObject::getContextID | ( | ) | const [inline] |
| GLuint& osg::GLBufferObject::getGLObjectID | ( | ) | [inline] |
| GLuint osg::GLBufferObject::getGLObjectID | ( | ) | const [inline] |
| GLsizeiptr osg::GLBufferObject::getOffset | ( | unsigned int | i | ) | const [inline] |
Referenced by osg::State::setColorPointer(), osg::State::setFogCoordPointer(), osg::State::setNormalPointer(), osg::State::setSecondaryColorPointer(), osg::State::setTexCoordPointer(), osg::State::setVertexAttribIPointer(), osg::State::setVertexAttribLPointer(), osg::State::setVertexAttribPointer(), and osg::State::setVertexPointer().
| const BufferObjectProfile& osg::GLBufferObject::getProfile | ( | ) | const [inline] |
| bool osg::GLBufferObject::hasAllBufferDataBeenRead | ( | ) | const |
| bool osg::GLBufferObject::isDirty | ( | ) | const [inline] |
| bool osg::GLBufferObject::isPBOSupported | ( | ) | const [inline] |
| static void osg::GLBufferObject::releaseGLBufferObject | ( | unsigned int | contextID, |
| GLBufferObject * | to | ||
| ) | [static] |
| void osg::GLBufferObject::setBufferDataHasBeenRead | ( | const osg::BufferData * | bd | ) |
| void osg::GLBufferObject::setBufferObject | ( | BufferObject * | bufferObject | ) |
| void osg::GLBufferObject::setProfile | ( | const BufferObjectProfile & | profile | ) | [inline] |
| void osg::GLBufferObject::unbindBuffer | ( | ) | [inline] |
unsigned int osg::GLBufferObject::_allocatedSize [protected] |
BufferEntries osg::GLBufferObject::_bufferEntries [protected] |
BufferObject* osg::GLBufferObject::_bufferObject [protected] |
unsigned int osg::GLBufferObject::_contextID [protected] |
bool osg::GLBufferObject::_dirty [protected] |
Referenced by bindBuffer().
| unsigned int osg::GLBufferObject::_frameLastUsed |
GLuint osg::GLBufferObject::_glObjectID [protected] |
Referenced by bindBuffer().
BufferObjectProfile osg::GLBufferObject::_profile [protected] |
Referenced by bindBuffer().
Referenced by bindBuffer().
| Generated at Tue Dec 8 2015 00:16:41 for the OpenSceneGraph by doxygen 1.7.6.1. |