D3DDDI_OVERLAYCOLORCONTROLSFLAGS structure (d3dumddi.h)
The D3DDDI_OVERLAYCOLORCONTROLSFLAGS structure identifies color-control settings that the overlay hardware supports.
Syntax
typedef struct _D3DDDI_OVERLAYCOLORCONTROLSFLAGS {
union {
struct {
UINT Brightness : 1;
UINT Contrast : 1;
UINT Hue : 1;
UINT Saturation : 1;
UINT Sharpness : 1;
UINT Gamma : 1;
UINT ColorEnable : 1;
UINT Reserved : 25;
};
UINT Value;
};
} D3DDDI_OVERLAYCOLORCONTROLSFLAGS;
Members
Brightness
A UINT value that specifies whether brightness adjustments to the overlay are enabled.
Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).
Contrast
A UINT value that specifies whether contrast adjustments to the overlay are enabled.
Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).
Hue
A UINT value that specifies whether hue adjustments to the overlay are enabled.
Setting this member is equivalent to setting the third bit of the 32-bit Value member (0x00000004).
Saturation
A UINT value that specifies whether saturation adjustments to the overlay are enabled.
Setting this member is equivalent to setting the fourth bit of the 32-bit Value member (0x00000008).
Sharpness
A UINT value that specifies whether sharpness adjustments to the overlay are enabled.
Setting this member is equivalent to setting the fifth bit of the 32-bit Value member (0x00000010).
Gamma
A UINT value that specifies whether gamma adjustments to the overlay are enabled.
Setting this member is equivalent to setting the sixth bit of the 32-bit Value member (0x00000020).
ColorEnable
A UINT value that specifies whether color-enable adjustments to the overlay are enabled.
Setting this member is equivalent to setting the seventh bit of the 32-bit Value member (0x00000040).
Reserved
This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 25 bits (0xFFFFFF80) of the 32-bit Value member to zeros.
Value
A member in the union that is contained in D3DDDI_OVERLAYCOLORCONTROLSFLAGS that can hold one 32-bit value that identifies color-control settings that the overlay hardware supports.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |