Tested for drawing to BufferTexture and reading pixels from it.