D3DX10CreateAsyncMemoryLoader function

Create an asynchronous-memory loader.

Syntax

HRESULT D3DX10CreateAsyncMemoryLoader(
  _In_  LPCVOID           pData,
  _In_  SIZE_T            cbData,
  _Out_ ID3DX10DataLoader **ppDataLoader
);

Parameters

pData [in]

Type: LPCVOID

Pointer to the data.

cbData [in]

Type: SIZE_T

Size of the data.

ppDataLoader [out]

Type: ID3DX10DataLoader**

The address of a pointer to the asynchronous-data processor (see ID3DX10DataProcessor Interface).

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX10Async.h

See also

General Purpose Functions