ID3D11TracingDevice::SetShaderTrackingOptionsByType method (d3d11sdklayers.h)

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


HRESULT SetShaderTrackingOptionsByType(
  [in] UINT ResourceTypeFlags,
  [in] UINT Options


[in] ResourceTypeFlags

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

[in] Options

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

This method returns one of the Direct3D 11 return codes.


This API requires the Windows Software Development Kit (SDK) for Windows 8.


Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11sdklayers.h
Library D3DCompiler.lib

See also