[osg-users] Equivalent of glTexSubImage2D ?

Johny Canes psijsma at gmail.com
Tue Feb 28 04:04:19 PST 2017


Hi,

Mh Robert, it seems glTexSubImage2D is the most straightforward. I don't want to build an abstraction around one simple operation.

There's a couple of things now. Can I or may I manually bind using 
Code:
texture->getTextureObject( cid )->bind();

 or alternatively, directly with 
Code:
glBindTexture( GL_TEXTURE_2D, tid );

?

Thank you!

Cheers,
Johny

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








More information about the osg-users mailing list