Read texture data
#5403
-
Hello, I am wondering whether there exists/are plans to implement a way to read back pixel data from a texture. My current use case is to use filament to visualize physics simulations while also using filament cameras to simulate visual sensors. As such I would need a way to read back the depth buffer to simulate depth sensors. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
bejado
Apr 7, 2022
Replies: 2 comments 6 replies
-
If you want to transfer the texture data to the CPU, we provide a |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Orctonk
-
@pixelflinger @bejado |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to transfer the texture data to the CPU, we provide a
readPixels
API to do just that.