Integrated updates to stats sent in my Geoff Michel.

This commit is contained in:
Robert Osfield
2001-11-04 19:29:20 +00:00
parent c10d22d729
commit b45aa55555
6 changed files with 229 additions and 39 deletions

View File

@@ -58,7 +58,10 @@ class OSGUTIL_EXPORT RenderBin : public osg::Object
virtual void draw_local(osg::State& state,RenderLeaf*& previous);
/** extract stats for current draw list. */
void getStats(osg::Statistics& primStats);
bool getStats(osg::Statistics* primStats);
void getPrims(osg::Statistics* primStats);
bool getPrims(osg::Statistics* primStats, const int nbin);
public:

View File

@@ -116,7 +116,7 @@ class OSGUTIL_EXPORT RenderStage : public RenderBin
void addToDependencyList(RenderStage* rs);
/** extract stats for current draw list. */
void getStats(osg::Statistics& primStats);
bool getStats(osg::Statistics* primStats);
public: