How do I get images from an android app made using opengl (filament rather)?

Solution 1:

In case someone looks it up in the future, I used PixelCopy to store the rendered image.