InitDeviceObjects & RestoreDeviceObjects
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement