D3DHAL_DP2VOLUMEBLT structure

DirectX 8.0 and later versions only.

The D3DHAL_DP2VOLUMEBLT structure is used for volume texture blts when D3dDrawPrimitives2 responds to the D3DDP2OP_VOLUMEBLT command token.

Syntax


typedef struct _D3DHAL_DP2VOLUMEBLT {
  DWORD  dwDDDestSurface;
  DWORD  dwDDSrcSurface;
  DWORD  dwDestX;
  DWORD  dwDestY;
  DWORD  dwDestZ;
  D3DBOX srcBox;
  DWORD  dwFlags;
} D3DHAL_DP2VOLUMEBLT, *LPD3DHAL_DP2VOLUMEBLT;

Members

dwDDDestSurface

Specifies the handle to the destination volume texture.

dwDDSrcSurface

Specifies the handle to the source volume texture.

dwDestX

Specify the location in the destination volume texture to copy the defined source subvolume. These members (dwDestX, dwDestY, and dwDestZ) are specified in screen coordinates.

dwDestY

See dwDestX above.

dwDestZ

See dwDestX above.

srcBox

Specifies a subvolume of the source volume texture to copy to the destination.

dwFlags

Reserved for system use.

Remarks

The D3dCreateSurfaceEx callback creates the small integer handles to the volume textures that can be used as source and destination volume textures for volume texture blts.

See Remarks for D3DHAL_DP2TEXBLT.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3DDP2OP_VOLUMEBLT
D3dCreateSurfaceEx
D3dDrawPrimitives2
D3DHAL_DP2TEXBLT

 

 

Send comments about this topic to Microsoft

Show: