Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is there a complete list of resources that need to be reloaded after a device reset? I want to make sure I'm not missing anything.

Also, should I reload them from disk each time, or do I want to make in-memory copies?

share|improve this question
1  
You tagged this for D3D11, which does not have the concept of a "lost device" that D3D9 did. Did you actually mean to ask about D3D9? –  Josh Petrie May 29 '12 at 22:44
    
@JoshPetrie I did mean D3D11. So I don't have to deal with device resets at all anymore? Sweet! –  Rei Miyasaka May 29 '12 at 22:53
add comment

1 Answer

up vote 5 down vote accepted

D3D11 does not have a "device lost" concept, at least not one like D3D9 had (with it's related "on-lost" and "on-reset" management).

DXGI, which you'll use with D3D10+, has error codes for the device being physically removed and one for a reset due to a bad command, but these require very different handling.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.