D3D_DRIVER_TYPE Enumeration

Driver type options.

Syntax

typedef enum D3D_DRIVER_TYPE
{
    D3D_DRIVER_TYPE_UNKNOWN = 0,
    D3D_DRIVER_TYPE_HARDWARE = (D3D_DRIVER_TYPE_UNKNOWN+1),
    D3D_DRIVER_TYPE_REFERENCE = (D3D_DRIVER_TYPE_HARDWARE+1),
    D3D_DRIVER_TYPE_NULL = (D3D_DRIVER_TYPE_REFERENCE+1),
    D3D_DRIVER_TYPE_SOFTWARE = (D3D_DRIVER_TYPE_NULL+1),
    D3D_DRIVER_TYPE_WARP = (D3D_DRIVER_TYPE_SOFTWARE+1)
} D3D_DRIVER_TYPE;  

Constants

Constant Description
D3D_DRIVER_TYPE_UNKNOWN The driver type is unknown.
D3D_DRIVER_TYPE_HARDWARE A hardware driver, which implements Direct3D features in hardware. This is the primary driver that you should use in your Direct3D applications because it provides the best performance. A hardware driver uses hardware acceleration (on supported hardware) but can also use software for parts of the pipeline that are not supported in hardware. This driver type is often referred to as a hardware abstraction layer or HAL.
D3D_DRIVER_TYPE_REFERENCE Unsupported for Xbox One game titles.
D3D_DRIVER_TYPE_NULL Unsupported for Xbox One game titles.
D3D_DRIVER_TYPE_SOFTWARE A software driver, which is a driver implemented completely in software. The software implementation is not intended for a high-performance application due to its very slow performance.
D3D_DRIVER_TYPE_WARP A WARP driver, which is a high-performance software rasterizer. The rasterizer supports feature levels 9_1 through level 10_1 with a high performance software implementation. For information about limitations creating a WARP device on certain feature levels, see Limitations Creating WARP and Reference Devices. For more information about using a WARP driver, see Windows Advanced Rasterization Platform (WARP) In-Depth Guide.
Note The WARP driver that Windows 8 includes supports feature levels 9_1 through level 11_1.

Remarks

The driver type is required when calling D3D11CreateDevice or D3D11CreateDeviceAndSwapChain.

Requirements

Header: Declared in d3d11_x.h (d3dcommon.h on other Windows platforms).