Expand Minimize

D3DDDI_PRESENTFLAGS structure

The D3DDDI_PRESENTFLAGS structure identifies how to perform a present operation.

Syntax


typedef struct _D3DDDI_PRESENTFLAGS {
  union {
    struct {
      UINT Blt  :1;
      UINT ColorFill  :1;
      UINT Flip  :1;
      UINT Reserved  :29;
    };
    UINT   Value;
  };
} D3DDDI_PRESENTFLAGS;

Members

Blt

A UINT value that specifies whether to perform a bit-block transfer (bitblt) data to the primary surface.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

ColorFill

A UINT value that specifies whether to perform a colorfill bitblt to the primary surface .

Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).

Flip

A UINT value that specifies whether to flip to a new surface.

Setting this member is equivalent to setting the third bit of the 32-bit Value member (0x00000004).

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 29 bits (0xFFFFFFF8) of the 32-bit Value member to zeros.

Value

A member in the union that is contained in D3DDDI_PRESENTFLAGS that can hold one 32-bit value that identifies how to perform a present operation.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_PRESENT
Present

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft