Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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_NONEValue: 0 No creation options are specified. |
DML_CREATE_DEVICE_FLAG_DEBUGValue: 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 |