The fields of the Gdi class are listed below. For a complete list of Gdi class members, see the Gdi Members topic.
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The layer plane is double-buffered. A layer plane can be double-buffered even when the main plane is single-buffered and vice versa. |
![]() ![]() | The layer plane shares the accumulation buffer with the main plane. |
![]() ![]() | The layer plane shares the depth buffer with the main plane. |
![]() ![]() | The layer plane shares the stencil buffer with the main plane. |
![]() ![]() | The layer plane is stereoscopic. A layer plane can be stereoscopic even when the main plane is monoscopic and vice versa. |
![]() ![]() | The layer plane supports GDI drawing. The current implementation of OpenGL doesn't support this flag. |
![]() ![]() | The layer plane supports OpenGL drawing. |
![]() ![]() | In a double-buffered layer plane, swapping the color buffer copies the back buffer contents to the front buffer. The swap does not affect the back buffer contents. This flag is a hint only and might not be provided by a driver. |
![]() ![]() | In a double-buffered layer plane, swapping the color buffer exchanges the front buffer and back buffer contents. The back buffer then contains the contents of the front buffer before the swap. This flag is a hint only and might not be provided by a driver. |
![]() ![]() | Contains a transparent color or index value that enables underlying layers to show through this layer. All layer planes, except the lowest-numbered underlay layer, have a transparent color or index. |
![]() ![]() | Color-index pixels. Each pixel uses a color-index value. |
![]() ![]() | RGBA pixels. Each pixel has four components: red, green, blue, and alpha. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The requested pixel format can either have or not have a depth buffer. To select a pixel format without a depth buffer, you must specify this flag. The requested pixel format can be with or without a depth buffer. Otherwise, only pixel formats with a depth buffer are considered. |
![]() ![]() | The buffer is double-buffered. This flag and PFD_SUPPORT_GDI are mutually exclusive in the current generic implementation. |
![]() ![]() | The requested pixel format can be either single- or double-buffered. |
![]() ![]() | The buffer can draw to a memory bitmap. |
![]() ![]() | The buffer can draw to a window or device surface. |
![]() ![]() | The pixel format is supported by a device driver that accelerates the generic implementation. If this flag is clear and the PFD_GENERIC_FORMAT flag is set, the pixel format is supported by the generic implementation only. |
![]() ![]() | The pixel format is supported by the GDI software implementation, which is also known as the generic implementation. If this bit is clear, the pixel format is supported by a device driver or hardware. |
![]() ![]() | The layer is the main plane. |
![]() ![]() | The buffer uses RGBA pixels on a palette-managed device. A logical palette is required to achieve the best results for this pixel type. Colors in the palette should be specified according to the values of the cRedBits, cRedShift, cGreenBits, cGreenShift, cBluebits, and cBlueShift members. The palette should be created and realized in the device context before calling wglMakeCurrent. |
![]() ![]() | Defined in the pixel format descriptors of hardware that supports one hardware palette in 256-color mode only. For such systems to use hardware acceleration, the hardware palette must be in a fixed order (for example, 3-3-2) when in RGBA mode or must match the logical palette when in color-index mode. When this flag is set, you must call see cref="SetSystemPaletteUse" /> in your program to force a one-to-one mapping of the logical palette and the system palette. If your OpenGL hardware supports multiple hardware palettes and the device driver can allocate spare hardware palettes for OpenGL, this flag is typically clear. This flag is not set in the generic pixel formats. |
![]() ![]() | The layer is the overlay plane. |
![]() ![]() | The buffer is stereoscopic. This flag is not supported in the current generic implementation. |
![]() ![]() | The requested pixel format can be either monoscopic or stereoscopic. |
![]() ![]() | The buffer supports DirectDraw drawing. |
![]() ![]() | The buffer supports GDI drawing. This flag and PFD_DOUBLEBUFFER are mutually exclusive in the current generic implementation. |
![]() ![]() | The buffer supports OpenGL drawing. |
![]() ![]() | Specifies the content of the back buffer in the double-buffered main color plane following a buffer swap. Swapping the color buffers causes the content of the back buffer to be copied to the front buffer. The content of the back buffer is not affected by the swap. PFD_SWAP_COPY is a hint only and might not be provided by a driver. |
![]() ![]() | Specifies the content of the back buffer in the double-buffered main color plane following a buffer swap. Swapping the color buffers causes the exchange of the back buffer's content with the front buffer's content. Following the swap, the back buffer's content contains the front buffer's content before the swap. PFD_SWAP_EXCHANGE is a hint only and might not be provided by a driver. |
![]() ![]() | Indicates whether a device can swap individual layer planes with pixel formats that include double-buffered overlay or underlay planes. Otherwise all layer planes are swapped together as a group. When this flag is set, wglSwapLayerBuffers is supported. |
![]() ![]() | Color-index pixels. Each pixel uses a color-index value. |
![]() ![]() | RGBA pixels. Each pixel has four components in this order: red, green, blue, and alpha. |
![]() ![]() | The layer is the underlay plane. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() |
Gdi Class | Tao.Platform.Windows Namespace