Direct3D on Mobile Devices
Now you know the basics of drawing in three dimensions. Now consider the interaction between the Direct3D system and a device running Windows Mobile.
Direct3D and Events
When a graphics program is running, a number of events, such as a change in the size of the display, an application being minimized, or another application acquiring the graphics adapter, can happen to which the program must respond. Direct3D provides events as a way of allowing a program to detect and respond to such events. It turns out that on the mobile platform the number of significant events is actually quite small.
If a graphics device is reset, the program must restore the state of some Direct3D objects, including textures, meshes, ...