Refactored the way the Scene is used in Viewer and CompositeViewer to ensure

that only on Scene exists per scene graph.
This commit is contained in:
Robert Osfield
2007-08-10 10:52:35 +00:00
parent 9b04594126
commit 7366daca91
11 changed files with 234 additions and 245 deletions

View File

@@ -15,6 +15,7 @@
#define OSG_GRAPHICSTHREAD 1
#include <osg/OperationThread>
#include <osg/State>
namespace osg {
@@ -117,6 +118,19 @@ public:
};
class OSG_EXPORT EndOfDynamicDrawBlock : public OpenThreads::BlockCount, public osg::State::DynamicObjectRenderingCompletedCallback
{
public:
EndOfDynamicDrawBlock(unsigned int);
void completed(osg::State* state);
protected:
~EndOfDynamicDrawBlock() {}
};
}
#endif