Sign in to follow this  
nasi

InitDeviceObjects & RestoreDeviceObjects

Recommended Posts

nasi    146
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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this