-
android端 ,请问下怎么做到离屏渲染,然后获取到纹理id ?谢谢 |
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Apr 28, 2024
Replies: 1 comment
-
通过宽高创建Surface,然后渲染完flush后执行getBackendTexture()。或者你直接自己创建纹理id,包装成BackendTexture用来创建Surface,每个平台都一样。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
domchen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
通过宽高创建Surface,然后渲染完flush后执行getBackendTexture()。或者你直接自己创建纹理id,包装成BackendTexture用来创建Surface,每个平台都一样。