Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supplies additional device creation options to DMLCreateDevice. Values can be bitwise OR'd together.
Syntax
typedef enum DML_CREATE_DEVICE_FLAGS {
DML_CREATE_DEVICE_FLAG_NONE = 0,
DML_CREATE_DEVICE_FLAG_DEBUG = 0x1
} ;
Constants
DML_CREATE_DEVICE_FLAG_NONE Value: 0 No creation options are specified. |
DML_CREATE_DEVICE_FLAG_DEBUG Value: 0x1 Enables the DirectML debug layers. To use the debug layers, developer mode must be enabled, and the DirectML debug layers must be installed. If the DML_CREATE_DEVICE_FLAG_DEBUG flag is specified and either condition is not met, then DMLCreateDevice returns DXGI_ERROR_SDK_COMPONENT_MISSING. |
Requirements
Requirement | Value |
---|---|
Header | directml.h |