• Advertisement
Sign in to follow this  

[SLIMDX] Device Recovery + Pool.Managed

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

When a device is lost, how do you handle objects created with Pool.Managed? Do you have to Dispose and recreate them or does SlimDX handle this for you? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
You don't need to do anything with resources in the managed pool, they're all handled for you.

Share this post


Link to post
Share on other sites
Thank you for confirming that for me! Thats what the documentation told me, but in the SimpleTriangle sample they disposed and then reloaded the vertexbuffer on every devicelost, and I was having some problems in my own program so I got confused.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement