Thank you Robert,
well, I've checked the source code of OSG, and found what you said, but I still 
don't know about the contextID, what value of the parameter should I give to 
the function?
Thanks so much!
Qingjie.


robertosfield wrote:
> Hi Qingjie,
> 
> 
> The osgTexture::TextureObject* osg::Texture::getTextureObject(uint contextID) 
>  method can be used to get the OSG's wrapper for the OpenGL texture object.  
> The TextureObject::id() method returns the OpenGL texture object id.
> 
> 
> Robert.
> 


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65067#65067





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to