D3D10_DRIVER_TYPE enumeration (d3d10misc.h)
The device-driver type.
Syntax
typedef enum D3D10_DRIVER_TYPE {
D3D10_DRIVER_TYPE_HARDWARE = 0,
D3D10_DRIVER_TYPE_REFERENCE = 1,
D3D10_DRIVER_TYPE_NULL = 2,
D3D10_DRIVER_TYPE_SOFTWARE = 3,
D3D10_DRIVER_TYPE_WARP = 5
} ;
Constants
D3D10_DRIVER_TYPE_HARDWARE Value: 0 A hardware device; commonly called a HAL device. |
D3D10_DRIVER_TYPE_REFERENCE Value: 1 A reference device; commonly called a REF device. |
D3D10_DRIVER_TYPE_NULL Value: 2 A NULL device; which is a reference device without render capability. |
D3D10_DRIVER_TYPE_SOFTWARE Value: 3 Reserved for later use. |
D3D10_DRIVER_TYPE_WARP Value: 5 A WARP driver, which is a high-performance software rasterizer. The rasterizer supports feature level 9_1 through level 10.1 with a high performance software implementation when hardware is not available. For more information about using a WARP driver, see Windows Advanced Rasterization Platform (WARP) In-Depth Guide. Note that WARP is only available with the DirectX 11 Runtime (Windows 7, Windows Server 2008 R2, updated Windows Vista [KB971644]). |
Remarks
The device-driver type needs to be specified when the device is created (using D3D10CreateDevice or D3D10CreateDeviceAndSwapChain).
For information about limitations creating nonhardware-type devices on certain feature levels, see Limitations Creating WARP and Reference Devices.
Requirements
Requirement | Value |
---|---|
Header | d3d10misc.h |