Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 2.01 KB

d3dx10createthreadpump.md

File metadata and controls

97 lines (60 loc) · 2.01 KB
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
APIRef
kbSyntax
D3DX10CreateThreadPump
LibDef
D3DX10.lib
D3DX10.dll

D3DX10CreateThreadPump function

Create a thread pump.

Syntax

HRESULT D3DX10CreateThreadPump(
  _In_  UINT              cIoThreads,
  _In_  UINT              cProcThreads,
  _Out_ ID3DX10ThreadPump **ppThreadPump
);

Parameters

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.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Remarks

A thread pump is a very resource-intensive object. Only one thread pump should be created per application.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

General Purpose Functions