[osg-users] how to get the handle of opengl texture that corresponds to a OSG::Texture

Qingjie Zhang 305479421 at qq.com
Tue Sep 8 07:20:20 PDT 2015


Hi,
I generated a texture2d with osg, to use the texture in CUDA, I have to get the corresponding "opengl texture" handle(GLuint), and then access to the texture by the handle in CUDA.
Now I don't know how to get the handle. 
Many thanks for your reply!!!
... 

Thank you!

Cheers,
Qingjie

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








More information about the osg-users mailing list