Direct3D Drawing in WPF
In Windows8, you can use SurfaceImageSource, VirtualSurfaceImageSource, SwapChainBackgroundPanel to let DirectX content into a XAML app. Visual Studio 2010 has removed Microsoft.DirectX support, so if we wanna use D3D in WPF, we need to leverage SlimDX or SharpDX. However, when you use older Windows version, ex: Win7, WinXP, you only can adopt D3DImage. D3DImage Lock, unLock image, and copy backbuffer to this image. Direct3D to WPF from Ellis Mu You can download the sample code here: https://github.com/DaoshengMu/WPFd3dImageCpp http://www.gamedev.net/topic/619534-wpf-directx-11-via-d3dimage/ http://www.notesonsoftware.com/directx/initializing-directx-9-drawing-in-wpf/ http://code4k.blogspot.tw/2011/03/benchmarking-cnet-direct3d-11-apis-vs.html http://www.codeproject.com/Articles/28526/Introduction-to-D3DImage http://social.msdn.microsoft.com/forums/en-US/wpf/thread/22a83db9-e903-49a5-815b-0647f157bda6 http://www.codeproject.com/Articles/351939/SurfaceI