Gets hardware configuration information, currently just the GPU clock frequency.
public:
void GetGpuHardwareConfigurationX(
D3D12XBOX_GPU_HARDWARE_CONFIGURATION *pGpuHardwareConfiguration
)
pGpuHardwareConfiguration
Type: D3D12XBOX_GPU_HARDWARE_CONFIGURATION *
[out] A D3D12XBOX_GPU_HARDWARE_CONFIGURATION structure, on return containing the hardware configuration info.
Type: void
This method does not return a value.
This API is intended to supersede and replace usage of the #define value D3D11X_XBOX_GPU_CLOCK_FREQUENCY (or any other hardcoded constants representing the GPU’s clock frequency). Titles should replace any usage they have of this constant with this API instead.
The GPU frequency is useful when calculating values derives from GPU performance counters.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.