|
openscenegraph
|
Classes | |
| struct | ModifiedCallback |
Protected Member Functions | |
| virtual | ~BufferData () |
Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| unsigned int | _modifiedCount |
| unsigned int | _bufferIndex |
| osg::ref_ptr< BufferObject > | _bufferObject |
| osg::ref_ptr< ModifiedCallback > | _modifiedCallback |
| unsigned int | _numClients |
Protected Attributes inherited from osg::Object | |
| std::string | _name |
| DataVariance | _dataVariance |
| osg::UserDataContainer * | _userDataContainer |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Public Types inherited from osg::Object | |
| enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
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 () |
|
inline |
|
inline |
Copy constructor using CopyOp to manage deep vs shallow copy.
|
protectedvirtual |
|
inline |
|
inlinevirtual |
Reimplemented in osg::Array.
|
inlinevirtual |
Reimplemented in osg::Array.
|
inlinevirtual |
Reimplemented in osg::Image.
|
inlinevirtual |
Reimplemented in osg::Image.
|
inlinevirtual |
Reimplemented in osg::PrimitiveSet.
|
inlinevirtual |
Reimplemented in osg::PrimitiveSet.
|
inlinevirtual |
return the name of the object's class type. Must be defined by derived classes.
Implements osg::Object.
Reimplemented in osg::DrawElementsUInt, osg::DrawElementsUShort, osg::DrawElementsUByte, osg::DrawArrayLengths, osg::DrawArrays, osg::PrimitiveSet, osg::Array, osg::Image, osg::ImageSequence, and osg::ImageStream.
|
inline |
Dirty the primitive, which increments the modified count, to force buffer objects to update. If a ModifiedCallback is attached to this BufferData then the callback is called prior to the bufferObject's dirty is called.
|
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().
|
inline |
|
inline |
|
pure virtual |
|
inline |
|
inline |
|
inline |
|
inline |
Get modified count value.
|
inline |
|
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().
|
pure virtual |
|
inlinevirtual |
Reimplemented from osg::Object.
Reimplemented in osg::DrawElementsUInt, osg::DrawElementsUShort, osg::DrawElementsUByte, osg::DrawArrayLengths, osg::IndexArray, osg::DrawArrays, osg::PrimitiveSet, osg::Array, osg::Image, osg::ImageSequence, and osg::ImageStream.
References NULL.
|
inlinevirtual |
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Implements osg::Object.
Reimplemented in osg::DrawElementsUInt, osg::DrawElementsUShort, osg::DrawElementsUByte, osg::DrawArrayLengths, osg::DrawArrays, osg::PrimitiveSet, osg::Array, osg::Image, osg::ImageSequence, and osg::ImageStream.
If State is non-zero, this function releases OpenGL objects for the specified graphics context. Otherwise, releases OpenGL objects for all graphics contexts.
Reimplemented from osg::Object.
|
inline |
|
virtual |
Resize any per context GLObject buffers to specified size.
Reimplemented from osg::Object.
|
inline |
| void osg::BufferData::setBufferObject | ( | BufferObject * | bufferObject | ) |
Referenced by osg::DrawElements::setElementBufferObject().
|
inline |
|
inline |
Set the modified count value.
|
protected |
|
protected |
Referenced by osg::DrawElements::getElementBufferObject().
|
protected |
|
protected |
|
protected |
1.8.5