osg::BarrierOperation Struct Reference

Inheritance diagram for osg::BarrierOperation:

osg::GraphicsThread::Operation osg::Referenced List of all members.

Public Types

enum  PreBlockOp { NO_OPERATION, GL_FLUSH, GL_FINISH }

Public Member Functions

 BarrierOperation (int numThreads, PreBlockOp op=NO_OPERATION)
virtual void release ()
virtual void operator() (GraphicsContext *context)

Public Attributes

PreBlockOp _preBlockOp

Detailed Description

BarrierOperation allows one to syncronize multiple GraphicsThreads with each other.


Member Enumeration Documentation

enum osg::BarrierOperation::PreBlockOp
 

Enumerator:
NO_OPERATION 
GL_FLUSH 
GL_FINISH 


Constructor & Destructor Documentation

osg::BarrierOperation::BarrierOperation int  numThreads,
PreBlockOp  op = NO_OPERATION
[inline]
 


Member Function Documentation

virtual void osg::BarrierOperation::operator() GraphicsContext context  )  [virtual]
 

Do the actual task of this operation.

Reimplemented from osg::GraphicsThread::Operation.

virtual void osg::BarrierOperation::release  )  [virtual]
 

if this operation is a barrier then release it.

Reimplemented from osg::GraphicsThread::Operation.


Member Data Documentation

PreBlockOp osg::BarrierOperation::_preBlockOp
 


The documentation for this struct was generated from the following file:
Generated on Fri Oct 13 17:03:07 2006 for openscenegraph by  doxygen 1.4.6