Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |