Derm.OpenGL.Wgl.PIXELFORMATDESCRIPTOR Struct Reference

Structure to describe the pixel format of a drawing surface. More...

List of all members.

Public Attributes

Byte bReserved
 Specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes.
Byte cAccumAlphaBits
 Specifies the number of alpha bitplanes in the accumulation buffer.
Byte cAccumBits
 Specifies the total number of bitplanes in the accumulation buffer.
Byte cAccumBlueBits
 Specifies the number of blue bitplanes in the accumulation buffer.
Byte cAccumGreenBits
 Specifies the number of green bitplanes in the accumulation buffer.
Byte cAccumRedBits
 Specifies the number of red bitplanes in the accumulation buffer.
Byte cAlphaBits
 Specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
Byte cAlphaShift
 Specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
Byte cAuxBuffers
 Specifies the number of auxiliary buffers. Auxiliary buffers are not supported.
Byte cBlueBits
 Specifies the number of blue bitplanes in each RGBA color buffer.
Byte cBlueShift
 Specifies the shift count for blue bitplanes in each RGBA color buffer.
Byte cColorBits
 Specifies the number of color bitplanes in each color buffer. For RGBA pixel types, it is the size of the color buffer, excluding the alpha bitplanes. For color-index pixels, it is the size of the color-index buffer.
Byte cDepthBits
 Specifies the depth of the depth (z-axis) buffer.
Byte cGreenBits
 Specifies the number of green bitplanes in each RGBA color buffer.
Byte cGreenShift
 Specifies the shift count for green bitplanes in each RGBA color buffer.
Byte cRedBits
 Specifies the number of red bitplanes in each RGBA color buffer.
Byte cRedShift
 Specifies the shift count for red bitplanes in each RGBA color buffer.
Byte cStencilBits
 Specifies the depth of the stencil buffer.
Int32 dwDamageMask
 Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Int32 dwFlags
 A set of bit flags that specify properties of the pixel buffer. The properties are generally not mutually exclusive; you can set any combination of bit flags, with the exceptions noted.
Int32 dwLayerMask
 Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Int32 dwVisibleMask
 Specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel type is color index, it is a transparent index value.
Byte iLayerType
 Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Byte iPixelType
 Specifies the type of pixel data. The following types are defined.
Int16 nSize
 Specifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR).
Int16 nVersion
 Specifies the version of this data structure. This value should be set to 1.

Detailed Description

Structure to describe the pixel format of a drawing surface.

Thanks to TaoFramework.


Member Data Documentation

Specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes.

Specifies the number of alpha bitplanes in the accumulation buffer.

Specifies the total number of bitplanes in the accumulation buffer.

Specifies the number of blue bitplanes in the accumulation buffer.

Specifies the number of green bitplanes in the accumulation buffer.

Specifies the number of red bitplanes in the accumulation buffer.

Specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.

Specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.

Specifies the number of auxiliary buffers. Auxiliary buffers are not supported.

Specifies the number of blue bitplanes in each RGBA color buffer.

Specifies the shift count for blue bitplanes in each RGBA color buffer.

Specifies the number of color bitplanes in each color buffer. For RGBA pixel types, it is the size of the color buffer, excluding the alpha bitplanes. For color-index pixels, it is the size of the color-index buffer.

Specifies the depth of the depth (z-axis) buffer.

Specifies the number of green bitplanes in each RGBA color buffer.

Specifies the shift count for green bitplanes in each RGBA color buffer.

Specifies the number of red bitplanes in each RGBA color buffer.

Specifies the shift count for red bitplanes in each RGBA color buffer.

Specifies the depth of the stencil buffer.

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.

A set of bit flags that specify properties of the pixel buffer. The properties are generally not mutually exclusive; you can set any combination of bit flags, with the exceptions noted.

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.

Specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel type is color index, it is a transparent index value.

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.

Specifies the type of layer.

Specifies the type of pixel data. The following types are defined.

Specifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR).

Specifies the version of this data structure. This value should be set to 1.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads