IDirect3DDevice9Ex::SetGPUThreadPriority method (d3d9.h)
Set the priority on the GPU thread.
Syntax
HRESULT SetGPUThreadPriority(
[in] INT Priority
);
Parameters
[in] Priority
Type: INT
The thread priority, ranging from -7 to 7.
Return value
Type: HRESULT
Possible return values include: D3D_OK, D3DERR_INVALIDCALL, or D3DERR_DEVICEREMOVED (see D3DERR).
Remarks
GPU thread priority is not reset when a device is lost. The effects of calls to this method are not recorded in state blocks.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9.h |
Library | D3D9.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