Bewerken

Delen via


DXGI_DDI_ARG_BLT1 structure (dxgiddi.h)

Describes the parameters of a bit-block transfer (bitblt) that include specifications for a source rectangle. Used by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.

Syntax

typedef struct DXGI_DDI_ARG_BLT1 {
  [in] DXGI_DDI_HDEVICE       hDevice;
  [in] DXGI_DDI_HRESOURCE     hDstResource;
  [in] UINT                   DstSubresource;
  [in] UINT                   DstLeft;
  [in] UINT                   DstTop;
  [in] UINT                   DstRight;
  [in] UINT                   DstBottom;
  [in] DXGI_DDI_HRESOURCE     hSrcResource;
  [in] UINT                   SrcSubresource;
  [in] UINT                   SrcLeft;
  [in] UINT                   SrcTop;
  [in] UINT                   SrcRight;
  [in] UINT                   SrcBottom;
  [in] DXGI_DDI_ARG_BLT_FLAGS Flags;
  [in] DXGI_DDI_MODE_ROTATION Rotate;
} DXGI_DDI_ARG_BLT1;

Members

[in] hDevice

A handle to the display device (graphics context) on which the driver performs the bitblt. The Direct3D runtime passes this handle to the driver in the hDrvDevice member of the D3D10DDIARG_CREATEDEVICE structure when the runtime calls the driver's CreateDevice(D3D10) function to create the display device.

[in] hDstResource

A handle to the destination resource.

[in] DstSubresource

The index to the destination surface within the resource.

[in] DstLeft

The x-coordinate of the upper-left corner of the destination rectangle.

[in] DstTop

The y-coordinate of the upper-left corner of the destination rectangle.

[in] DstRight

The x-coordinate of the lower-right corner of the destination rectangle.

[in] DstBottom

The y-coordinate of the lower-right corner of the destination rectangle.

[in] hSrcResource

A handle to the source resource.

[in] SrcSubresource

The index to the source surface within the resource.

[in] SrcLeft

The x-coordinate of the upper-left corner of the source rectangle.

[in] SrcTop

The y-coordinate of the upper-left corner of the source rectangle.

[in] SrcRight

The x-coordinate of the lower-right corner of the source rectangle.

[in] SrcBottom

The y-coordinate of the lower-right corner of the destination rectangle.

[in] Flags

A DXGI_DDI_ARG_BLT_FLAGS structure that identifies the type of bitblt to perform.

[in] Rotate

A value of type DXGI_DDI_MODE_ROTATION that identifies the orientation of the display mode.

Remarks

The source rectangle specified by the members SrcLeft, SrcTop, SrcRight, and SrcBottom is typically a dirty subrectangle.

Requirements

Requirement Value
Minimum supported client Windows 8,WDDM 1.2 and later
Minimum supported server Windows Server 2012
Header dxgiddi.h (include D3d10umddi.h)

See also

CreateDevice(D3D10)

D3D10DDIARG_CREATEDEVICE

DXGI_DDI_ARG_BLT_FLAGS

DXGI_DDI_MODE_ROTATION