> One could forward declare osgUtil::RenderStage and osgUtil::RenderBin in > include/osg/RenderInfo and then allow the current bin/stage pointer be stored > in RenderInfo. User code would need to include RenderStage/RenderBin if they > need it.
Unfortunaly, by doing this, we can't use ref_ptr to store the RenderStage and the RenderBin (the ref_ptr template need to know that osgUtil::RenderStage is derived from osg::Referenced to compile properly). Not sure if it is safe to store these pointers as non-referenced pointers. Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55393#55393 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
