D3DX10_TEXTURE_LOAD_INFO structure

Describes parameters used to load a texture from another texture.

Syntax

typedef struct _D3DX10_TEXTURE_LOAD_INFO {
  D3D10_BOX *pSrcBox;
  D3D10_BOX *pDstBox;
  UINT      SrcFirstMip;
  UINT      DstFirstMip;
  UINT      NumMips;
  UINT      SrcFirstElement;
  UINT      DstFirstElement;
  UINT      NumElements;
  UINT      Filter;
  UINT      MipFilter;
} D3DX10_TEXTURE_LOAD_INFO;

Members

pSrcBox

Type: D3D10_BOX*

Source texture box (see D3D10_BOX).

pDstBox

Type: D3D10_BOX*

Destination texture box (see D3D10_BOX).

SrcFirstMip

Type: UINT

Source texture mipmap level, see D3D10CalcSubresource for more detail.

DstFirstMip

Type: UINT

Destination texture mipmap level, see D3D10CalcSubresource for more detail.

NumMips

Type: UINT

Number of mipmap levels in the source texture.

SrcFirstElement

Type: UINT

First element of the source texture.

DstFirstElement

Type: UINT

First element of the destination texture.

NumElements

Type: UINT

Number of elements to load.

Filter

Type: UINT

Filtering options during resampling (see D3DX10_FILTER_FLAG).

MipFilter

Type: UINT

Filtering options when generating mip levels (see D3DX10_FILTER_FLAG).

Remarks

This structure is used in a call to D3DX10LoadTextureFromTexture.

Requirements

Requirement Value
Header
D3DX10Tex.h

See also

D3DX Structures