ID3D11RefDefaultTrackingOptions::SetTrackingOptions Method

Sets graphics processing unit (GPU) debug reference default tracking options for specific resource types.

Syntax

public:
HRESULT SetTrackingOptions(
         UINT ResourceTypeFlags,
         UINT Options
)  

Parameters

ResourceTypeFlags
Type: UINT 

A D3D11_SHADER_TRACKING_RESOURCE_TYPE-typed value that specifies the type of resource to track.

Options
Type: UINT 

A combination of D3D11_SHADER_TRACKING_OPTIONS-typed flags that are combined by using a bitwise OR operation. The resulting value identifies tracking options. If a flag is present, the tracking option that the flag represents is set to “on”; otherwise the tracking option is set to “off.”

Return value

Type: HRESULT 

This method returns one of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11sdklayers.h.

Library: Use d3d11.lib.

See also

ID3D11RefDefaultTrackingOptions

ID3D11RefDefaultTrackingOptions Members