ID3D12DebugDevice::SetFeatureMask method

Set a bit field of flags that will turn debug features on and off.

Syntax


HRESULT SetFeatureMask(
   D3D12_DEBUG_FEATURE Mask
);

Parameters

Mask

Type: D3D12_DEBUG_FEATURE

Feature-mask flags, as a bitwise-OR'd combination of D3D12_DEBUG_FEATURE enumeration constants. 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. HRESULT

Requirements

Header

D3d12sdklayers.h

See also

GetFeatureMask
ID3D12DebugDevice

 

 

Show: