ID3D11ShaderTrace::GetTraceStats method

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

Returns statistics about the trace.

Syntax


HRESULT GetTraceStats(
  [out]  D3D11_TRACE_STATS *pTraceStats
);

Parameters

pTraceStats [out]

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3D11ShaderTracing.h

Library

D3dcompiler.lib or D3dcompiler_nn.dll

See also

ID3D11ShaderTrace

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.