Share via


Determining Hardware Support (Windows Embedded CE 6.0)

1/6/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 CheckDeviceFormat on both the depth-stencil and render target formats.

See Also

Concepts

Using Devices