[osg-users] osg::Texture or osg::Image from custom data pointer

Bruno Oliveira bruno.manata.oliveira at gmail.com
Tue Apr 12 06:41:45 PDT 2016


Hello, is it possible to create an osg::Image or even osg::texture from
custom user data pointer? For instance, I have a void* data_ptr pointing to
a flat data vector of pixels and want to create a texture to use with OSG.

Can this be done?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160412/cae9c932/attachment-0002.htm>


More information about the osg-users mailing list