Jump to content
  • Advertisement
Sign in to follow this  
deepavs

Sharing texture

This topic is 4862 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, 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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!