Skip to content

Android sample: draw onto texture from TextureView in regular Activity #185

Answered by TheMostDiligent
netherpyro asked this question in Q&A
Discussion options

You must be logged in to vote

I suppose you need to extract a native handle from the view and then you can create a Diligent texture using either IRenderDeviceGL::CreateTextureFromGLHandle or IRenderDeviceVk::CreateTextureFromVulkanImage depending on the API you are using.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by netherpyro
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