ID3D11DeviceX::GetDriverStatistics Method

Returns driver performance statistics.

Syntax

public:
void GetDriverStatistics(
         UINT StructSize,
         D3D11X_DRIVER_STATISTICS *pStatistics
)  

Parameters

StructSize
Type: UINTĀ 

[in] The size of the D3D11X_DRIVER_STATISTICS structure; pass-in sizeof(D3D11X_DRIVER_STATISTICS).

pStatistics
Type: D3D11X_DRIVER_STATISTICSĀ *

[out] The statistics, as a pointer to a D3D11X_DRIVER_STATISTICS structure.

Return value

None.

Remarks

The pStatistics structure that is output by this method contains valid data only when the device is created with the D3D11_CREATE_DEVICE_VALIDATED or D3D11_CREATE_DEVICE_DEBUG flags. For reasons of performance, this method always returns all zeroes for Retail or INSTRUMENTED (D3D11_CREATE_DEVICE_INSTRUMENTED) Direct3D devices.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members