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.

Device Reset

If a graphics device is reset, the program must restore the state of some Direct3D objects, including textures, meshes, ...

Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.