Changeset 12914 for OpenSceneGraph/trunk/include/osgViewer/ViewerBase
- Timestamp:
- 01/24/12 18:21:14 (17 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgViewer/ViewerBase (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgViewer/ViewerBase
r12294 r12914 107 107 /** Get the end barrier position.*/ 108 108 BarrierPosition getEndBarrierPosition() const { return _endBarrierPosition; } 109 110 /** Set the end barrier operation. \c op may be one of GL_FLUSH, GL_FINISH, 111 * or NO_OPERATION. NO_OPERATION is the default. Per BarrierOperation::operator()(), 112 * a glFlush() command, glFinish() command, or no additional OpenGL command will be 113 * issued before entering the end barrier. */ 114 void setEndBarrierOperation(const osg::BarrierOperation::PreBlockOp& op) { _endBarrierOperation = op; } 115 116 /** Get the end barrier operation. */ 117 osg::BarrierOperation::PreBlockOp getEndBarrierOperation() const { return _endBarrierOperation; } 109 118 110 119 … … 310 319 311 320 BarrierPosition _endBarrierPosition; 321 osg::BarrierOperation::PreBlockOp _endBarrierOperation; 312 322 313 323 osg::ref_ptr<osg::BarrierOperation> _startRenderingBarrier;
