Bewerken

Delen via


D3DDDIARG_PRESENT structure (d3dumddi.h)

The D3DDDIARG_PRESENT structure describes a resource to display.

Syntax

typedef struct _D3DDDIARG_PRESENT {
  [in] HANDLE                   hSrcResource;
  [in] UINT                     SrcSubResourceIndex;
  [in] HANDLE                   hDstResource;
       UINT                     DstSubResourceIndex;
  [in] D3DDDI_PRESENTFLAGS      Flags;
  [in] D3DDDI_FLIPINTERVAL_TYPE FlipInterval;
} D3DDDIARG_PRESENT;

Members

[in] hSrcResource

A handle to the source resource to display. hSrcResource can be NULL if the user-mode display driver should perform a color-fill operation to the screen.

[in] SrcSubResourceIndex

The zero-based index into the source resource, which is specified by the handle in the hSrcResource member. This index indicates the subresource or surface to display.

[in] hDstResource

A handle to the destination resource to display to. If NULL, the user-mode display driver is informed that a color-fill operation will occur, but the user-mode driver is not expected to perform the operation. The display miniport driver does the actual color-fill operation and will be informed of the color value at that time.

DstSubResourceIndex

[in] The zero-based index into the destination resource, which is specified by the handle in the hDstResource member. This index indicates the subresource or surface to display to.

[in] Flags

A D3DDDI_PRESENTFLAGS structure that identifies, in bit-field flags, how to display.

[in] FlipInterval

A D3DDDI_FLIPINTERVAL_TYPE-typed value that indicates the flip interval (that is, if the flip occurs after zero, one, two, three, or four vertical syncs).

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

Present