Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder.

This commit is contained in:
Robert Osfield 2006-09-04 13:35:26 +00:00
parent 22a5a8802c
commit 625c0173b2

View File

@ -194,9 +194,9 @@ class OSGUTIL_EXPORT RenderStage : public RenderBin
void addToDependencyList(RenderStage* rs) { addPreRenderStage(rs); }
void addPreRenderStage(RenderStage* rs);
void addPreRenderStage(RenderStage* rs, int order = 0);
void addPostRenderStage(RenderStage* rs);
void addPostRenderStage(RenderStage* rs, int order = 0);
/** Extract stats for current draw list. */
bool getStats(Statistics& stats) const;
@ -206,8 +206,8 @@ class OSGUTIL_EXPORT RenderStage : public RenderBin
virtual ~RenderStage();
typedef std::vector< osg::ref_ptr<RenderStage> > RenderStageList;
typedef std::pair< int , osg::ref_ptr<RenderStage> > RenderStageOrderPair;
typedef std::list< RenderStageOrderPair > RenderStageList;
bool _stageDrawnThisFrame;
RenderStageList _preRenderList;