D3DDDI_PRESENTFLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _D3DDDI_PRESENTFLAGS {
  union {
    struct {
      UINT Blt : 1;
      UINT ColorFill : 1;
      UINT Flip : 1;
      UINT AllowTearing : 1;
      UINT AllowFlexibleRefresh : 1;
      UINT Reserved : 27;
    };
    UINT Value;
  };
} D3DDDI_PRESENTFLAGS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddi_presentflags)

_D3DDDI_PRESENTFLAGS structure

Description

The D3DDDI_PRESENTFLAGS structure identifies how to perform a present operation.

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).

AllowTearing

AllowFlexibleRefresh

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.

See also

D3DDDIARG_PRESENT

Present