Jump to content

  • Log In with Google      Sign In   
  • Create Account

DirectX9 and WPF D3DImage


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 tupeltaja   Members   -  Reputation: 105

Like
0Likes
Like

Posted 25 June 2012 - 07:01 AM

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.

Sponsor:

#2 Nik02   Crossbones+   -  Reputation: 2919

Like
0Likes
Like

Posted 25 June 2012 - 08:03 AM

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





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS