Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
PIXELFORMATDESCRIPTOR (Structures)
.
C# Definition:
[StructLayout(LayoutKind.Sequential)]
public struct PixelFormatDescriptor
{
public ushort Size;
public ushort Version;
public PixelFormatDescriptorFlags Flags;
public PixelType PixelType;
public byte ColorBits;
public byte RedBits;
public byte RedShift;
public byte GreenBits;
public byte GreenShift;
public byte BlueBits;
public byte BlueShift;
public byte AlphaBits;
public byte AlphaShift;
public byte AccumBits;
public byte AccumRedBits;
public byte AccumGreenBits;
public byte AccumBlueBits;
public byte AccumAlphaBits;
public byte DepthBits;
public byte StencilBits;
public byte AuxBuffers;
public byte LayerType;
private byte Reserved;
public uint LayerMask;
public uint VisibleMask;
public uint DamageMask;
public ushort Size;
public ushort Version;
public PixelFormatDescriptorFlags Flags;
public PixelType PixelType;
public byte ColorBits;
public byte RedBits;
public byte RedShift;
public byte GreenBits;
public byte GreenShift;
public byte BlueBits;
public byte BlueShift;
public byte AlphaBits;
public byte AlphaShift;
public byte AccumBits;
public byte AccumRedBits;
public byte AccumGreenBits;
public byte AccumBlueBits;
public byte AccumAlphaBits;
public byte DepthBits;
public byte StencilBits;
public byte AuxBuffers;
public byte LayerType;
private byte Reserved;
public uint LayerMask;
public uint VisibleMask;
public uint DamageMask;
//Use this function to make a new one with Size and Version already filled in.
public static PixelFormatDescriptor Build()
{
var pfd = new PixelFormatDescriptor
{
Size = (ushort)Marshal.SizeOf(typeof(PixelFormatDescriptor)),
Version = 1
};
//Use this function to make a new one with Size and Version already filled in.
public static PixelFormatDescriptor Build()
{
var pfd = new PixelFormatDescriptor
{
Size = (ushort)Marshal.SizeOf(typeof(PixelFormatDescriptor)),
Version = 1
};
return pfd;
}
return pfd;
}
}
VB Definition:
Structure PIXELFORMATDESCRIPTOR
Public TODO
End Structure
User-Defined Field Types:
None.
Notes:
None.
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.