Is it possible, to render a scene using OpenGL and than somehow copy rendered image to, for example, 2D array using CUDA? I'd need to place a result in bool picture[resX][resY] array, where true = coloured pixel, false = empty space.
Thanks is advance for any suggestions!