I want to start developing my own game editor and I want to use WPF for UI part.
As far as I use DirectX 11, I have some troubles with connecting DX 11 to WPF.
I know that exists 2 methods:
1) using WinForms control inside WPF
2) using D3DImage.
But D3DImage using only DirectX 9 and I cannot find solution that clearly describes what I need to do to get DX 11 work via D3DImage.
What would you advice in my case? Which variant is better?
And if you use 2nd variant, please, provide me code for interop with DX11 via D3DImage.
Thanks in advance.