Bewerken

Delen via


D3DDDIARG_BLT structure (d3dumddi.h)

The D3DDDIARG_BLT structure describes the parameters of a bit-block transfer (bitblt).

Syntax

typedef struct _D3DDDIARG_BLT {
  [in] HANDLE          hSrcResource;
  [in] UINT            SrcSubResourceIndex;
  [in] RECT            SrcRect;
  [in] HANDLE          hDstResource;
  [in] UINT            DstSubResourceIndex;
  [in] RECT            DstRect;
  [in] UINT            ColorKey;
  [in] D3DDDI_BLTFLAGS Flags;
} D3DDDIARG_BLT;

Members

[in] hSrcResource

A handle to the source resource.

[in] SrcSubResourceIndex

The index to the source surface within the resource.

[in] SrcRect

A RECT structure for the source rectangle.

[in] hDstResource

A handle to the destination resource.

[in] DstSubResourceIndex

The index to the destination surface within the resource.

[in] DstRect

A RECT structure for the destination rectangle.

[in] ColorKey

A value for the color key. Note that the SrcColorKey and DstColorKey bit-field flags are never set simultaneously in the Flags member.

[in] Flags

A D3DDDI_BLTFLAGS structure that identifies the type of bitblt to perform. Note that some bit-field flags in this structure are mutually exclusive with other flags. For more information about these flags, see the following Remarks section.

Remarks

If a filtering option (for example, the Point or Linear bit-field flag) is not specified in the Flags member, the driver can use its own filtering technique.

The SrcColorKey and DstColorKey bit-field flags are never set simultaneously. Similarly, the Point bit-field flag is not simultaneously set with the Linear bit-field flag.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

Blt

D3DDDI_BLTFLAGS

RECT