D3D11X_DEBUG_FLAG Enumeration

Flags to control debugging.

Syntax

typedef enum D3D11X_DEBUG_FLAG
{
    D3D11X_DEBUG_API_ERROR_DISABLE_BREAKS = 0x00000001,
    D3D11X_DEBUG_API_WARNING_ENABLE_BREAKS = 0x00000004,
    D3D11X_DEBUG_VALIDATION_LAYERS_ENABLE_FAILURE_BREAKS = 0x00000010,
    D3D11X_DEBUG_VALIDATION_LAYERS_DISABLE_FAILURE_RETURN = 0x00000040,
    D3D11X_DEBUG_VALIDATION_LAYERS_DISABLE_CONF_FAILURES = 0x00000100
} D3D11X_DEBUG_FLAG;  

Constants

Constant Description
D3D11X_DEBUG_API_ERROR_DISABLE_BREAKS API error disable breaking.
D3D11X_DEBUG_API_WARNING_ENABLE_BREAKS API warning enable breaking.
D3D11X_DEBUG_VALIDATION_LAYERS_ENABLE_FAILURE_BREAKS For validation layers, enables breaking upon failure.
D3D11X_DEBUG_VALIDATION_LAYERS_DISABLE_FAILURE_RETURN For validation layers, disables return upon failure.
D3D11X_DEBUG_VALIDATION_LAYERS_DISABLE_CONF_FAILURES Indicates that the validation layer should not enforce D3D11.1 compliance in parameter validation by failing resource creation API calls that do not conform to the standard. Xbox One allows resources to be created using non-standard extensions that would normally fail on PC but this ability is disallowed by default; this flag enables resource creation API calls to use those extensions.

Remarks

A bitwise-OR’d combination of these flags is passed into ID3D11DeviceX::SetDebugFlags and is returned by ID3D11DeviceX::GetDebugFlags.

Requirements

Header: Declared in d3d11_x.h.