I need to access the rendered raw pixels of a (managed) WPF page/window from unmanaged code.
The underlying (unmanaged) engine renders pixels both in cpu memory and in gpu memory (DirectX) before copying the final raster to an external device. The ideal would be to access raw pixel data from cpu memory or from a directx rendertarget or dxgi surface in gpu memory.
What i need is similar to WPF and DirectX - Game Overlay but the reply here is the opposite of the problem in question.