ID3D11ShaderTrace::GetTraceStats method

Returns statistics about the trace.

Syntax

HRESULT GetTraceStats(
  D3D11_TRACE_STATS *pTraceStats
);

Parameters

pTraceStats

A pointer to a D3D11_TRACE_STATS structure. GetTraceStats fills the members of this structure with statistics about the trace.

Return Value

GetTraceStats returns:

  • S_OK if statistics about the trace are successfully obtained.
  • E_FAIL if no trace statistics are available yet; ID3D11ShaderTrace::TraceReady must return S_OK before GetTraceStats can succeed.
  • E_INVALIDARG if pTraceStats is NULL.
  • Possibly other error codes that are described in Direct3D 11 Return Codes.

Remarks

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

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11shadertracing.h
DLL D3D11SDKLayers.dll; D3D11_1SDKLayers.dll; D3D11_2SDKLayers.dll

See Also

ID3D11ShaderTrace