Sign in to follow this  
taras_g

Drawing on a foreign D3DDevice's surface

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

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