IDXGIDevice::GetGPUThreadPriority method (dxgi.h)
Gets the GPU thread priority.
Syntax
HRESULT GetGPUThreadPriority(
[out] INT *pPriority
);
Parameters
[out] pPriority
Type: INT*
A pointer to a variable that receives a value that indicates the current GPU thread priority. The value will be between -7 and 7, inclusive, where 0 represents normal priority.
Return value
Type: HRESULT
Return S_OK if successful; otherwise, returns E_POINTER if the pPriority parameter is NULL.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for