DirectX9 and WPF D3DImage

Started by
0 comments, last by Nik02 11 years, 9 months ago
Morning all,

I have a simple question and couldn't find certain answer. FYI, I could get SlimDX example using mixture of DirectX9 & DirectX10 and WPF D3DImage class working fine.

Is it possible to use pure DirectX9 to render to D3DImage surface?

Using DX10 would require too much rewriting, so it's not an option at this time.

Thank you very much.
Advertisement
The D3DImage::SetBackBuffer method specifically accepts an IDirect3DSurface9 pointer. The common scenario is that a native dll (which does your native D3D stuff) provides this pointer to WPF via interop.

Niko Suni

This topic is closed to new replies.

Advertisement