Hi David, OpenGL modes are really ints in OpenGL, the GLenum isn't a real enum, its just a #define GL_NAME numberic_value. It would just plain confusing to hide this. One could argue that OSG should even have a typedef GLenum GLMode, but I'm certainly not about to try and put all the OpenGL enum is one huge enum list would be madness.
Robert. On 6/15/06, david callu <[EMAIL PROTECTED]> wrote:
Hi Robert, again me :-) ok so you give the possibility to any OSG user to pass to OSG an unknow OpenGL modes, but the OpenGL state attribute use jointly with this OpenGL mode must be define in osg::StateAttribute::Type. So if a want to use a extension of OpenGL with new mode and state attribute I could use the new mode in OSG without problem but i must submit a new osg::StateAttribute::Type (Like the osgNV* ). The extension possibility offered by the non-enum osg::StateAttribute::GLMode is broken by the enum osg::StateAttribute::Type. Best regards for your work and for you. I stop to insist Thank for you patience David _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
