Skip to content

android端 ,请问下怎么做到离屏渲染,然后获取到纹理id ? #194

Answered by domchen
gzzhangbl asked this question in Q&A
Discussion options

You must be logged in to vote

通过宽高创建Surface,然后渲染完flush后执行getBackendTexture()。或者你直接自己创建纹理id,包装成BackendTexture用来创建Surface,每个平台都一样。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants