Drawing on a foreign D3DDevice's surface
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
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
Here are the archives: discuss.microsoft.com/archives/DIRECTXDEV.html
Maybe this is not what you are looking for, sorry then.
Peter
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement