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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for