Enum MswPixelFormatDescriptorEnums.Flags
Specifies a set of flags that define the capabilities and behaviors of a pixel format.
[Flags]
public enum MswPixelFormatDescriptorEnums.Flags : uint
Fields
DoubleBuffer = 1Enables double buffering.
DrawToBitmap = 8Indicates the format can be drawn to a memory bitmap.
DrawToWindow = 4Indicates the format can be drawn to a window (HWND).
GenericAccelerated = 4096Indicates hardware acceleration via a generic driver.
GenericFormat = 64Indicates a generic pixel format not accelerated by hardware.
NeedPalette = 128Requires a palette for color management.
NeedSystemPalette = 256Requires the system palette.
Stereo = 2Enables stereo buffering.
SupportComposition = 32768Supports composition under DWM (Windows Vista+).
SupportDirectDraw = 8192Supports DirectDraw acceleration (legacy).
SupportGdi = 16Supports GDI drawing.
SupportOpenGl = 32Supports OpenGL rendering.
SwapCopy = 1024Uses swap copy method for buffer swapping.
SwapExchange = 512Uses swap exchange method for buffer swapping.
SwapLayerBuffers = 2048Supports swapping of layer buffers.
Remarks
This enumeration is decorated with the FlagsAttribute, allowing a bitwise combination of its member values. It is commonly used to describe the features supported by a rendering context or a pixel format in graphics programming.