OpenSceneGraph 2.8.3
|
BarrierOperation allows one to synchronize multiple GraphicsThreads with each other. More...
Public Types | |
enum | PreBlockOp { NO_OPERATION, GL_FLUSH, GL_FINISH } |
Public Member Functions | |
BarrierOperation (int numThreads, PreBlockOp op=NO_OPERATION, bool keep=true) | |
virtual void | release () |
if this operation is a barrier then release it. | |
virtual void | operator() (Object *object) |
Do the actual task of this operation. | |
Public Attributes | |
PreBlockOp | _preBlockOp |
BarrierOperation allows one to synchronize multiple GraphicsThreads with each other.
osg::BarrierOperation::BarrierOperation | ( | int | numThreads, |
PreBlockOp | op = NO_OPERATION , |
||
bool | keep = true |
||
) | [inline] |
virtual void osg::BarrierOperation::operator() | ( | Object * | ) | [virtual] |
Do the actual task of this operation.
Implements osg::Operation.
virtual void osg::BarrierOperation::release | ( | ) | [virtual] |
if this operation is a barrier then release it.
Reimplemented from osg::Operation.
![]() | Generated at Tue Mar 22 2011 13:20:22 for the OpenSceneGraph by doxygen 1.7.3. |