Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Microsoft® Direct3D® Mobile provides the following functions to determine hardware support:

  • IDirect3DMobile::CheckDeviceFormat. Used to verify whether a surface format can be used as a texture and a render target or whether a surface format can be used as a depth-stencil buffer. In addition, this method is used to verify depth buffer format support and depth-stencil buffer format support.

  • IDirect3DMobile::CheckDeviceType. Used to verify a device's ability to perform hardware acceleration, a device's ability to build a swap chain for presentation, or a device's ability to render to the current display format.

  • IDirect3DMobile::CheckDepthStencilMatch. Used to verify whether a depth-stencil buffer format is compatible with a render-target format. Note that before calling this method, the application should call CheckDeviceFormaton both the depth-stencil and render target formats.

See Also

Concepts

Using Devices