Sharing texture

Started by
2 comments, last by deepavs 18 years, 4 months ago
Hi, I have to share texture between applications. Here i create a texture using GetSurfaceLevel() and SetRenderTarget() with my drawings. And i have to use this texture in another application. Is this possible?
Advertisement
Another application running simultaneously? You might get away with the following technique although it's very bad practise. You could each frame save the texture to a file and have the other application copy that texture or use it. You might run into some sharing violation problems though.
A little more details as to what these 2 applications have in common and what you are trying to achieve as an end result might help us in making a better assessment.

I hope this helps.
Take care.
No i my application there will be many modules which will update the texture.
So i have to use shared memory to store this texture.
About OpenGL i read about shared resources between processes.Any thing like that in Directx

This topic is closed to new replies.

Advertisement