Nope, the view is tightly bound to the resource, you can't change that after creation.I thought the shader view interface only stores a pointer to the screen texture, so it will retrieve the updated data, when I change the texture object it was initalized with.
If you look at the docs of this function you will have to check the compatibility of source and target resource. I already suspected some format problem: Is your backbuffer e.g. really 32F ?The code now fails at "context->CopyResource(g_pScreenTexture11, m_pBackBuffer);" though. The texture is just empty.
BMP can't cope with float formats, use DDS instead.I tried this one too:
*snip*
But it crashes the application at the second line already, I have no idea why.
That leaves bare logging, hopefully. Dump the description of the resources and views in question using GetResource and GetDesc and compare them.I'm going to try and put together a quick testing program as I cannot bind PIX to any other software with my project applied. PIX tries to hook the DirectX Exported Functions which was already done by my hook, so it just crashes.