หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
This method is used to determine the rate at which the GPU timestamp counter increments.
Syntax
HRESULT GetTimestampFrequency(
[out] UINT64 *pFrequency
);
Parameters
[out] pFrequency
Type: UINT64*
The GPU timestamp counter frequency (in ticks/second).
Return value
Type: HRESULT
This method returns one of the Direct3D 12 Return Codes.
Remarks
For more information, refer to Timing.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d12.h |
| Library | D3d12.lib |
| DLL | D3d12.dll |