Determining Hardware Support (Direct3D 9)
Direct3D provides the following functions to determine hardware support.
-
Used to verify whether a surface format can be used as a texture, 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.
-
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.
IDirect3D9::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 IDirect3D9::CheckDeviceFormat on both the depth-stencil and render-target formats.
Related topics