Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3DX10CreateAsyncTextureInfoProcessor function

Create a data processor to be used with a thread pump.

Syntax


HRESULT D3DX10CreateAsyncTextureInfoProcessor(
  _In_  D3DX10_IMAGE_LOAD_INFO *pLoadInfo,
  _Out_ ID3DX10DataProcessor   **ppDataProcessor
);

Parameters

pLoadInfo [in]

Type: D3DX10_IMAGE_LOAD_INFO*

Optional. Identifies the characteristics of a texture (see D3DX10_IMAGE_LOAD_INFO) when the data processor is created; set this to NULL to read the characteristics of a texture when the texture is loaded.

ppDataProcessor [out]

Type: ID3DX10DataProcessor**

Address of a pointer to a buffer that contains the data processor created (see ID3DX10DataProcessor Interface).

Return value

Type: HRESULT

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

Remarks

This API does creates a data-processor interface; D3DX10CreateAsyncTextureProcessor creates the data-processor interface and loads the texture.

Requirements

Header

D3DX10Tex.h

Library

D3DX10.lib

See also

Texture Functions in D3DX 10

 

 

Show:
© 2017 Microsoft