Enum D3D10CreateDeviceOptions
Device creation options.
Namespace: JeremyAnsel.DirectX.D3D10
Assembly: JeremyAnsel.DirectX.D3D10.dll
Syntax
[Flags]
public enum D3D10CreateDeviceOptions
Fields
Name | Description |
---|---|
AllowNullFromMap | Return a NULL pointer instead of triggering an exception on memory exhaustion during invocations to Map. Without this flag an exception will be raised on memory exhaustion. |
BgraSupport | Causes device creation to fail if BGRA support is not available. |
Debug | Create 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. To use this flag, you must have |
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. When this flag is used with a WARP device, no additional threads will be created by WARP and all rasterization will occur on the calling thread. This flag is not recommended for general use. |
SingleThreaded | Use this flag if an application will only be calling D3D10 from a single thread. If this flag is not specified, the default behavior of D3D10 is to enter a lock during each API call to prevent multiple threads altering internal state. By using this flag no locks will be taken which can slightly increase performance, but could result in undefine behavior if D3D10 is called from multiple threads. |
StrictValidation | Reserved. This flag is currently not supported. Do not use. |
SwitchToRef | Create both a software (REF) and hardware (HAL) version of the device simultaneously, which allows an application to switch to a reference device to enable debugging. |