Sets a message severity level to break on when a message with that severity level passes through the storage filter.
public:
HRESULT SetBreakOnSeverity(
DXGI_DEBUG_ID Producer,
DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity,
BOOL bEnable
)
Producer
Type: DXGI_DEBUG_ID
[in] A DXGI_DEBUG_ID value that identifies the entity that sets the breaking condition.
Severity
Type: DXGI_INFO_QUEUE_MESSAGE_SEVERITY
[in] A DXGI_INFO_QUEUE_MESSAGE_SEVERITY-typed value that specifies the severity of the message.
bEnable
Type: BOOL
[in] A Boolean value that specifies whether SetBreakOnSeverity turns on or off this breaking condition (TRUE for on, FALSE for off).
Type: HRESULT
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
Header: Declared in dxgidebug.h.
Library: Use d3d11.lib.