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
Requirement | Value |
---|---|
Header |
|
See also