ID3D11TracingDevice::SetShaderTrackingOptionsByType Method

Sets the reference rasterizer’s default race-condition tracking options for the specified resource types.

Syntax

public:
HRESULT SetShaderTrackingOptionsByType(
         UINT ResourceTypeFlags,
         UINT Options
)  

Parameters

ResourceTypeFlags
Type: UINT 

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

Options
Type: UINT 

[in] 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

ID3D11TracingDevice

ID3D11TracingDevice Members