How to use function glTexSubImage2D (without full replacement of a texture)?

osg:: Texture2D* texture = dynamic_cast <osg:: Texture2D *> (geode.getDrawable 
(i)-> getStateSet ()-> getTextureAttribute (0, osg:: StateAttribute:: 
TEXTURE)); 
if (texture) texture-> setImage (image);
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to