Hi Community,
I have a custom rendering with GL calls and I want to wrap them in push/pop
StateSet (and everything). I see in osg::State all the push/pop (like
pushUniformList) methods are not accessible. Any hint how to do this?
Here is what is something like I need:
void Drawable::drawImplementation(osg::RenderInfo& renderInfo) const
{
pushEverything()
doCustomGLRendering();
popEverything()
}
Thanks a bunch!
Nick
--
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org