Added support into osg::RenderInfo for a stack of Cameras that allow querries

of which camera is currently active to be querried from within the draw traversal.
This commit is contained in:
Robert Osfield
2007-07-14 17:07:59 +00:00
parent af19e71024
commit 1f0edca631
3 changed files with 19 additions and 2 deletions

View File

@@ -236,7 +236,7 @@ class OSGUTIL_EXPORT RenderStage : public RenderBin
double _clearDepth;
int _clearStencil;
bool _cameraRequiresSetUp;
bool _cameraRequiresSetUp;
osg::Camera* _camera;
osg::ref_ptr<osg::Texture> _texture;