ID3D12Tools::EnableShaderInstrumentation method (d3d12.h)

This method enables tools such as PIX to instrument shaders.

Syntax

void EnableShaderInstrumentation(
  BOOL bEnable
);

Parameters

bEnable

Type: BOOL

TRUE to enable shader instrumentation; otherwise, FALSE.

Return value

None

Remarks

Do not use this interface in your application, it's not intended or supported for any scenario other than to enable tooling such as PIX.

Developer Mode must be enabled for this interface to respond.

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3D12.lib
DLL D3D12.dll

See also

ID3D12Tools