O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required