D3DDDI_PRESENTFLAGS structure (d3dumddi.h)
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 AllowTearing : 1;
UINT AllowFlexibleRefresh : 1;
UINT Reserved : 27;
};
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).
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |