I would like to get at the raw image data, as in a pointed to a byte array or something like that, of the image output from a direct3d app without actually rendering it to the monitor.
I need to do this so that I can render direct3d as a directshow source filter
Visual studio 2008 c++
Create a surface to which you’re going to render as an instance of
IDirect3DSurface9. Set it as the target for your rendering withIDirect3DDevice9::SetRenderTarget.