https://kotlinlang.org logo
#compose
Title
# compose
f

Franck

11/17/2023, 2:14 PM
Hello. Is it possible to render a Compose UI to an OpenGL texture?
c

Chris Fillmore

11/17/2023, 4:03 PM
I’ve done this but what’s your use case?
I put a ComposeView in a VirtualDisplay backed by a Surface backed by a SurfaceTexture
There may be a better approach but this works well for my use case