Hi,
I am working on a project where the GUI needs to be in WPF. This requirement is beyond my control, but my visualization code is in OpenGL, and I don't feel like porting all of it to Direct3D. It runs excellently under ANGLE, however, so hopefully I don't have to :-)
The one little unsolved detail is of course the integration between ANGLE's Direct3D surface and WPF. I was thinking about using a D3DImage, which I have used earlier with success when integrating native D3D code with WPF.
The big question is how (if at all possible) I can get the current IDirect3DSurface9 from ANGLE so that I can put it into my D3DImage.
Also, is there a way I can request a DX9 context specifically, instead of DX11 now that both are available in ANGLE?
Any insight into this would be greatly appreciated.
- Thomas