• Advertisement
Sign in to follow this  

DirectX9 and WPF D3DImage

This topic is 2038 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement