Table of Contents

Enum MswPixelFormatDescriptorEnums.Flags

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Specifies a set of flags that define the capabilities and behaviors of a pixel format.

[Flags]
public enum MswPixelFormatDescriptorEnums.Flags : uint

Fields

DoubleBuffer = 1

Enables double buffering.

DrawToBitmap = 8

Indicates the format can be drawn to a memory bitmap.

DrawToWindow = 4

Indicates the format can be drawn to a window (HWND).

GenericAccelerated = 4096

Indicates hardware acceleration via a generic driver.

GenericFormat = 64

Indicates a generic pixel format not accelerated by hardware.

NeedPalette = 128

Requires a palette for color management.

NeedSystemPalette = 256

Requires the system palette.

Stereo = 2

Enables stereo buffering.

SupportComposition = 32768

Supports composition under DWM (Windows Vista+).

SupportDirectDraw = 8192

Supports DirectDraw acceleration (legacy).

SupportGdi = 16

Supports GDI drawing.

SupportOpenGl = 32

Supports OpenGL rendering.

SwapCopy = 1024

Uses swap copy method for buffer swapping.

SwapExchange = 512

Uses swap exchange method for buffer swapping.

SwapLayerBuffers = 2048

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