filament icon indicating copy to clipboard operation
filament copied to clipboard

Get OpenGL texture id from Texture instance

Open kaelsass opened this issue 7 years ago • 1 comments

Is your feature request related to a problem? Please describe. I'd like to create a Texture as color attachment of a render target and get the texture id from the Texture after render. Is there any way that I could get OpenGL texture id from Texture class instance?

kaelsass avatar Oct 16 '19 04:10 kaelsass

Filament supports multiple backends, not just OpenGL. In addition, all GL code runs on an internal private thread. For those two reasons it wouldn't make sense for Filament to give access to the GL texture id. Could you explain what you are trying to do?

romainguy avatar Oct 16 '19 04:10 romainguy