是否可以将 Android 视图渲染到 OpenGL FBO 或纹理? [英] Is it possible to render an Android View to an OpenGL FBO or texture?
本文介绍了是否可以将 Android 视图渲染到 OpenGL FBO 或纹理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以将视图(例如,WebView)渲染到 FBO,以便在 OpenGL 合成中用作纹理?
Is it possible to render a View (say, a WebView) to an FBO so it can be used as a texture in an OpenGL composition?
推荐答案
是的,这当然可能,我在这里写了一个操作方法;http://www.felixjones.co.uk/neo%20website/Android_View/
Yes is it certainly possible, I have written up a how-to here; http://www.felixjones.co.uk/neo%20website/Android_View/
但是对于不会改变的静态元素,位图选项可能会更好.
However for static elements that won't change, the bitmap option may be better.
这篇关于是否可以将 Android 视图渲染到 OpenGL FBO 或纹理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文