[osg-users] [GL ES2] TEXTURE_EXTERNAL_OES?
Konstantin
lalakostya at gmail.com
Wed May 20 23:35:02 PDT 2015
Hello, Jean!
It's possible.
You can create new class AndroidCameraTexture (etc.) inherited from the
osg::Texture2D and override method apply:
*apply(osg::State& state){*
*... (see texture2d implementation)*
*glBindTexture(GL_TEXTURE_EXTERNAL_OES, texId)*
*... (see texture2d implementation)*
*}*
KOS
2015-05-19 20:39 GMT+04:00 Jean Baptiste Poquelin <coudboule at yahoo.fr>:
> Hello,
>
> Is it possible to make a texture object use the GL_TEXTURE_EXTERNAL_OES
> target instead of GL_TEXTURE_2D?
>
> Thank you!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63767#63767
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150521/1eea6341/attachment-0003.htm>
More information about the osg-users
mailing list