OpenSceneGraph 2.8.4
Public Types | Public Member Functions | Public Attributes
osg::BarrierOperation Struct Reference

BarrierOperation allows one to synchronize multiple GraphicsThreads with each other. More...

Inheritance diagram for osg::BarrierOperation:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

BarrierOperation allows one to synchronize multiple GraphicsThreads with each other.


Member Enumeration Documentation

Enumerator:
NO_OPERATION 
GL_FLUSH 
GL_FINISH 

Constructor & Destructor Documentation

osg::BarrierOperation::BarrierOperation ( int  numThreads,
PreBlockOp  op = NO_OPERATION,
bool  keep = true 
) [inline]

Member Function Documentation

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.


Member Data Documentation


The documentation for this struct was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:16:11 for the OpenSceneGraph by doxygen 1.7.4.