description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create a thread pump. |
a7a016e2-784d-4d7a-8058-88895bf3c4e2 |
D3DX10CreateThreadPump function (D3DX10.h) |
reference |
05/31/2018 |
|
|
|
|
Create a thread pump.
HRESULT D3DX10CreateThreadPump(
_In_ UINT cIoThreads,
_In_ UINT cProcThreads,
_Out_ ID3DX10ThreadPump **ppThreadPump
);
-
cIoThreads [in]
-
Type: UINT
The number of I/O threads to create. If 0 is specified, Direct3D will attempt to calculate the optimal number of threads based on the hardware configuration.
-
cProcThreads [in]
-
Type: UINT
The number of process threads to create. If 0 is specified, Direct3D will attempt to calculate the optimal number of threads based on the hardware configuration.
-
ppThreadPump [out]
-
Type: ID3DX10ThreadPump**
The created thread pump. See ID3DX10ThreadPump Interface.
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
A thread pump is a very resource-intensive object. Only one thread pump should be created per application.
Requirement | Value |
---|---|
Header |
|
Library |
|