Member documentation

nSize – specifies the size of this data structure. This value should be set to SIZEOF.

nVersion – specifies the version of this data structure. This value should be set to 1

dwFlags – a set of bit flags that specify properties of the pixel buffer

iPixelType – specifies the type of pixel data

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.

cRedBits – specifies the number of red bitplanes in each RGBA color buffer

cAlphaBits – specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported

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

cAccumBits – specifies the total number of bitplanes in the accumulation buffer

cAccumRedBits – specifies the number of red bitplanes in the accumulation buffer

cAccumGreenBits – specifies the number of green bitplanes in the accumulation buffer

cAccumBlueBits – specifies the number of blue bitplanes in the accumulation buffer

cAccumAlphaBits – specifies the number of alpha bitplanes in the accumulation buffer

cDepthBits – specifies the depth of the depth (z-axis) buffer

cStencilBits – specifies the depth of the stencil buffer

cAuxBuffers – specifies the number of auxiliary buffers. Auxiliary buffers are not supported

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

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

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

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.

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