[osg-users] Getting the opengl texture id of an osg::Texture2D

Alberto Luaces aluaces at udc.es
Wed Jul 23 08:16:51 PDT 2008


you can use osg::Texture::getTextureObject and then 


El Miércoles 23 Julio 2008ES 16:58:25 Steffen Kim escribió:
> Hi,
> I cannot find the correct function to get the OpenGL texture-id of an
> osg::Texture2D.
> I have several textures in OSG that I want to use as input for a library
> that needs the textures as GLuint.
> How do I get my OSG-textures in there?
> And how can I create an osg::Texture2D out of the GLuint I get as a result
> after running the API?
> I would be really happy about any hints on how to do this.
> Thanks in advance,
> Steffen
> _______________________________________________________________________
> EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
> Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@mf2
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list