ID3D12DebugCommandList::SetFeatureMask method (d3d12sdklayers.h)

Turns the debug features for a command list on or off.

Syntax

HRESULT SetFeatureMask(
  D3D12_DEBUG_FEATURE Mask
);

Parameters

Mask

Type: D3D12_DEBUG_FEATURE

A combination of feature-mask flags that are combined by using a bitwise OR operation. If a flag is present, that feature will be set to on, otherwise the feature will be set to 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

ID3D12DebugCommandList