Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Restoring Textures in DX8

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

I would like to know how to restore textures when you have minimized your application and then restore it. I used to do this with 2D application in DX7. Does this need to be done when workin with DX8 in 3D. Do I also need to restore or recreate the D3D8 object or device. Go on an Intense Rampage

Share this post

Link to post
Share on other sites
Lost things are much clearer and cleaner in DX8.x.
The D3D device can be lost, you free any video memory resources you have, "reset" the device, and restore the resources which require it.

Managed resources take some of the pain away in the same way as they did in DX7.

Take a look in the docs:

DirectX Graphics ->
Programmers Guide ->
Using Direct3D ->
About Devices ->
Lost Devices

contains the info you need. Also the sample framework in the SDK shows correct restoration/reset behavior IIRC.

Simon O''''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!