Original Post
Hi,
my problem is the following one:
I have a working D3D-App, this app draws something on screen.
My problem now is, I need the RGBA values of the image which is drawn to screen.
I have just tried to make a screenshot, works great, but I only need the values of my app not the whole screen.
I thought of something like setting the RenderTarget to a special surface, let the app render everything and convert this surface to a DIB. So that I can get the pixels RGBA. For now I convert the Backbuffer to a DIB.
Can anybody give me a hint, if this is completly crap or this is the right direction? Is the a better/faster way ?
Best Regards.