1

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.

Community
  • 1
  • 1

1 Answers1

0

I just stumbled onto this info a few days ago - and here I find a question for that very topic! Here you go, this link should be what you need.

Ani
  • 10,826
  • 3
  • 27
  • 46