D3DHAL_DP2BLT structure

DirectX 9.0 and later versions only.

D3DHAL_DP2BLT is used for two dimensional surface blts when D3dDrawPrimitives2 responds to the D3DDP2OP_BLT command token.

Syntax


typedef struct _D3DHAL_DP2BLT {
  DWORD dwSource;
  RECTL rSource;
  DWORD dwSourceMipLevel;
  DWORD dwDest;
  RECTL rDest;
  DWORD dwDestMipLevel;
  DWORD Flags;
} D3DHAL_DP2BLT, *LPD3DHAL_DP2BLT;

Members

dwSource

Specifies the handle to the source surface.

rSource

Specifies a RECTL structure that specifies the upper left and lower right points of a rectangle on the source surface. These points define the area of the source blit data and its position on the source surface.

dwSourceMipLevel

Specifies the sublevel of a MIP-map texture that is the source of the blt.

dwDest

Specifies the handle to the destination surface.

rDest

Specifies a RECTL structure that specifies the upper left and lower right points of a rectangle on the destination surface. These points define the area in which the blit should occur and its position on the destination surface.

dwDestMipLevel

Specifies the sublevel of a MIP-map texture that is the destination for the blt.

Flags

Specifies a flag that indicates the type of filtering that the driver must perform. This member is set to zero to indicate that the driver can use its own filtering technique or is set to one of the following flags.

FlagMeaning

DP2BLT_LINEAR

Set for linear filtering.

DP2BLT_POINT

Set for point filtering.

 

Remarks

The dwSource or dwDest member specifies the kernel handle to the top-level surface and the dwSourceMipLevel or dwDestMiplevel member specifies the sublevel for the MIP-map chain where the blt occurs.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3DDP2OP_BLT
D3dDrawPrimitives2
D3DHAL_DP2COMMAND

 

 

Send comments about this topic to Microsoft

Show: