how to change display mode from fullscreen to windowed?vice versa.
You do, effectively, need to shutdown and restart your graphics components to do what you want.
It's not quite the same, as you don't have to worry about the D3DPOOL_MANAGED resources..
I suggest you check out the SDK's sample framework code - it's the best possible reference for this sort of mechanism [smile]
hth
Jack
It's not quite the same, as you don't have to worry about the D3DPOOL_MANAGED resources..
I suggest you check out the SDK's sample framework code - it's the best possible reference for this sort of mechanism [smile]
hth
Jack
If you entirely delete your device (Release()ing it), you'll lose all data (including managed resources). If you Reset() it, you lose all data except managed resources. You lose all renderstates, lights, materials, shaders, textures, etc etc.
If you have a managed resource, D3D keeps a system memory copy of it, so it can use that to recreate the resource after your device is reset.
If you have a managed resource, D3D keeps a system memory copy of it, so it can use that to recreate the resource after your device is reset.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement