ID3D12InfoQueue::SetBreakOnCategory method (d3d12sdklayers.h)

Set a message category to break on when a message with that category passes through the storage filter.

Syntax

HRESULT SetBreakOnCategory(
  [in] D3D12_MESSAGE_CATEGORY Category,
  [in] BOOL                   bEnable
);

Parameters

[in] Category

Type: D3D12_MESSAGE_CATEGORY

Message category to break on.

[in] bEnable

Type: BOOL

Turns this breaking condition on or off (true for on, false for off).

Return value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d12sdklayers.h

See also

ID3D12InfoQueue