Sign in to follow this  

Drawing on a foreign D3DDevice's surface

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

This topic is 4823 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this