InitDeviceObjects & RestoreDeviceObjects

Started by
0 comments, last by nasi 19 years ago
I am a rookie in DX. When I study dx I meet a Common Framework in the SDK that have a Class "CD3DApplication". in the class, there are two members: InitDeviceObjects() & RestoreDeviceObjects(). there is a problem that when i put the code into them, i don't know which i should put. what's the different between them? if there is a device lost, why i must invalidate device objects and restore them? can i delete them and init them again?
Advertisement
no one knows this? or no one uses D3D framework? ...

This topic is closed to new replies.

Advertisement