Jump to content
  • Advertisement
Sign in to follow this  
taras_g

Drawing on a foreign D3DDevice's surface

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

Hi, all! In my application I got a surface created with an instance of IDirect3DDevice9 and I want to draw something on this surface. However, I should not use this device directly because it has been created and is managed by another DLL, so I can't be sure about its state. I have created another instance of D3DDevice and tried to use D3DXRenderToSurface but it does not seem to work. Is it possible to draw with device B on a surface created by device A? How? Taras

Share this post


Link to post
Share on other sites
Advertisement
I think you should see the thread called "Accessing existing D3D Device" on the directxdev mailing list. (august week 4 and 5).
Here are the archives: discuss.microsoft.com/archives/DIRECTXDEV.html
Maybe this is not what you are looking for, sorry then.

Peter

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!