IDirect3DDevice9Ex::GetGPUThreadPriority method
Get the priority of the GPU thread.
Syntax
HRESULT GetGPUThreadPriority( INT *pPriority );
Parameters
- pPriority
-
Type: INT*
Current GPU priority. Valid values range from -7 to 7.
Return value
Type: HRESULT
Possible return values include: D3D_OK or D3DERR_DEVICEREMOVED (see D3DERR).
Remarks
Use IDirect3DDevice9Ex::SetGPUThreadPriority to set the priority of a thread.
This method will retrieve the priority of the thread stored with the Direct3D device even if it was created with the D3DCREATE_PUREDEVICE flag.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: