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.

D3DX10LoadTextureFromTexture function

Load a texture from a texture.

Syntax


HRESULT D3DX10LoadTextureFromTexture(
   ID3D10Resource           *pSrcTexture,
   D3DX10_TEXTURE_LOAD_INFO *pLoadInfo,
   ID3D10Resource           *pDstTexture
);

Parameters

pSrcTexture

Type: ID3D10Resource*

Pointer to the source texture. See ID3D10Resource.

pLoadInfo

Type: D3DX10_TEXTURE_LOAD_INFO*

Pointer to texture loading parameters. See D3DX10_TEXTURE_LOAD_INFO.

pDstTexture

Type: ID3D10Resource*

Pointer to the destination texture. See ID3D10Resource Interface.

Return value

Type: HRESULT

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

Requirements

Header

D3DX10Tex.h

See also

Texture Functions in D3DX 10

 

 

Show:
© 2017 Microsoft