Returns driver performance statistics.
public:
void GetDriverStatistics(
UINT StructSize,
D3D11X_DRIVER_STATISTICS *pStatistics
)
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.
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.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.