C# Class Sharpex2D.Rendering.OpenGL.PixelFormatDescriptor

Show file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Properties

Property Type Description
AccumAlphaBits Byte
AccumBits Byte
AccumBlueBits Byte
AccumGreenBits Byte
AccumRedBits Byte
AlphaBits Byte
AlphaShift Byte
AuxBuffers Byte
BlueBits Byte
BlueShift Byte
ColorBits Byte
DamageMask System.Int32
DepthBits Byte
FormatDescription PixelFormatDescription
GreenBits Byte
GreenShift Byte
LayerMask System.Int32
LayerType int
PixelType int
RedBits Byte
RedShift Byte
Reserved Byte
Size System.Int16
StencilBits Byte
Version System.Int16
VisibleMask System.Int32

Property Details

AccumAlphaBits public property

Specifies the number of alpha bitplanes in the accumulation buffer.
public Byte AccumAlphaBits
return Byte

AccumBits public property

Specifies the total number of bitplanes in the accumulation buffer.
public Byte AccumBits
return Byte

AccumBlueBits public property

Specifies the number of blue bitplanes in the accumulation buffer.
public Byte AccumBlueBits
return Byte

AccumGreenBits public property

Specifies the number of green bitplanes in the accumulation buffer.
public Byte AccumGreenBits
return Byte

AccumRedBits public property

Specifies the number of red bitplanes in the accumulation buffer.
public Byte AccumRedBits
return Byte

AlphaBits public property

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

AlphaShift public property

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

AuxBuffers public property

Specifies the number of auxiliary buffers. Auxiliary buffers are not supported.
public Byte AuxBuffers
return Byte

BlueBits public property

Specifies the number of blue bitplanes in each RGBA color buffer.
public Byte BlueBits
return Byte

BlueShift public property

Specifies the shift count for blue bitplanes in each RGBA color buffer.
public Byte BlueShift
return Byte

ColorBits public property

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.
public Byte ColorBits
return Byte

DamageMask public property

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Specifies whether more than one pixel format shares the same frame buffer. If the result of the bitwise AND of the damage masks between two pixel formats is nonzero, then they share the same buffers.
public Int32,System DamageMask
return System.Int32

DepthBits public property

Specifies the depth of the depth (z-axis) buffer.
public Byte DepthBits
return Byte

FormatDescription public property

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.
public PixelFormatDescription FormatDescription
return PixelFormatDescription

GreenBits public property

Specifies the number of green bitplanes in each RGBA color buffer.
public Byte GreenBits
return Byte

GreenShift public property

Specifies the shift count for green bitplanes in each RGBA color buffer.
public Byte GreenShift
return Byte

LayerMask public property

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Specifies the layer mask. The layer mask is used in conjunction with the visible mask to determine if one layer overlays another.
public Int32,System LayerMask
return System.Int32

LayerType public property

Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
Specifies the type of layer.
public int LayerType
return int

PixelType public property

Specifies the type of pixel data. The following types are defined.
public int PixelType
return int

RedBits public property

Specifies the number of red bitplanes in each RGBA color buffer.
public Byte RedBits
return Byte

RedShift public property

Specifies the shift count for red bitplanes in each RGBA color buffer.
public Byte RedShift
return Byte

Reserved public property

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.
public Byte Reserved
return Byte

Size public property

Specifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR).
public Int16,System Size
return System.Int16

StencilBits public property

Specifies the depth of the stencil buffer.
public Byte StencilBits
return Byte

Version public property

Specifies the version of this data structure. This value should be set to 1.
public Int16,System Version
return System.Int16

VisibleMask public property

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.
public Int32,System VisibleMask
return System.Int32