Enum D3D11CreateDeviceOptions
Describes parameters that are used to create a device.
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
[Flags]
public enum D3D11CreateDeviceOptions
Fields
| Name | Description |
|---|---|
| BgraSupport | Required for Direct2D interoperability with Direct3D resources. |
| Debug | Creates a device that supports the debug layer. |
| Debuggable | Causes the device and driver to keep information that you can use for shader debugging. The exact impact from this flag will vary from driver to driver. |
| DisableGpuTimeout | Use this flag if the device will produce GPU workloads that take more than two seconds to complete, and you want the operating system to allow them to successfully finish. |
| None | No option. |
| PreventAlteringLayerSettingsFromRegistry | Causes the Direct3D runtime to ignore registry settings that turn on the debug layer. |
| PreventInternalThreadingOptimizations | Prevents multiple threads from being created. |
| SingleThreaded | Use this flag if your application will only call methods of Direct3D 11 interfaces from a single thread. By default, the D3D11Device object is thread-safe. |
| SwitchToRef | This flag is not supported in Direct3D 11. |
| VideoSupport | Forces the creation of the Direct3D device to fail if the display driver is not implemented to the WDDM. |