ID3DX10ThreadPump::AddWorkItem method
Add a work item to the thread pump.
Syntax
HRESULT AddWorkItem(
[in] ID3DX10DataLoader *pDataLoader,
[in] ID3DX10DataProcessor *pDataProcessor,
[in] HRESULT *pHResult,
[out] void **ppDeviceObject
);
Parameters
-
pDataLoader [in]
-
Type: ID3DX10DataLoader*
The loader that the thread pump will use when a work item requires data to be loaded.
-
pDataProcessor [in]
-
Type: ID3DX10DataProcessor*
The processor that the thread pump will use when a work item requires data to be processed.
-
pHResult [in]
-
Type: HRESULT*
A pointer to the return value. May be NULL.
-
ppDeviceObject [out]
-
Type: void**
The device that uses the object.
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also