ID3D12InfoQueue::SetBreakOnCategory method

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

Syntax

HRESULT SetBreakOnCategory(
  D3D12_MESSAGE_CATEGORY Category,
  BOOL                   bEnable
);

Parameters

Category

Type: D3D12_MESSAGE_CATEGORY

Message category to break on.

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

   
Target Platform Windows
Header d3d12sdklayers.h

See Also

ID3D12InfoQueue