Jump to content
  • Advertisement
Sign in to follow this  
pankaj.sachdeva

Direct2D Direct3D Interop problem

This topic is 2608 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

Guys,

I have just started learning SlimDX and I have a requirement where I need to use Direct2D and Direct3D in parallel. So, I have decided to use the Direct2D & Direct3D Interop as described in this link. There is a sample written using C++ & DirectX SDK which can be found here. So, I have converted the sample application using C# & SlimDX.

But I got stuck in between where whenever I try to create the Direct2D render target using DXGI surface which I got from Direct3D10.Texture2D my application does not show anything but when I try to create the render target using backbuffer which I can get from swapchain then it renders all the elements which I have drawn.

I have attached both of the sample application sources with this thread.

I would really appreciate, If anybody can spare some time to point me out the issue with my C# code.

Thank you,
Pankaj

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!