So i'm learning SlimDX in C# and have come across a problem.
The main window was being rendered in DX 11 and is working fine, but then I decided to write a HUD class that would use Direct2D.
However when everything is rendered it just rapidly flickers between what Direct2D is rendering and the Direct X 11 window. Is there something i'm supposed to be doing with the rendering targets to meld these together?
SlimDX With Direct2D and Direct3D11
Started by hawksprite, Jul 09 2012 05:32 PM
2 replies to this topic
Sponsor:
#2 Moderators - Reputation: 5638
Posted 09 July 2012 - 10:08 PM
D2D and D3D11 interop is actually a huge pain in the ass, since D2D uses a D3D10.1 device and not a D3D11 device. This link provides a high-level overview.
There have actually been a lot of threads about this in the DirectX forum...you should try searching through there to see if you can dig up anything else specific to SlimDX (and you should probably also post threads like these in that forum
)
There have actually been a lot of threads about this in the DirectX forum...you should try searching through there to see if you can dig up anything else specific to SlimDX (and you should probably also post threads like these in that forum






