Package com.sun.jna.platform.win32
Class WinGDI.PIXELFORMATDESCRIPTOR
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.WinGDI.PIXELFORMATDESCRIPTOR
 
 
- 
- Direct Known Subclasses:
- WinGDI.PIXELFORMATDESCRIPTOR.ByReference
 - Enclosing interface:
- WinGDI
 
 @FieldOrder({"nSize","nVersion","dwFlags","iPixelType","cColorBits","cRedBits","cRedShift","cGreenBits","cGreenShift","cBlueBits","cBlueShift","cAlphaBits","cAlphaShift","cAccumBits","cAccumRedBits","cAccumGreenBits","cAccumBlueBits","cAccumAlphaBits","cDepthBits","cStencilBits","cAuxBuffers","iLayerType","bReserved","dwLayerMask","dwVisibleMask","dwDamageMask"}) public static class WinGDI.PIXELFORMATDESCRIPTOR extends Structure The PIXELFORMATDESCRIPTOR structure describes the pixel format of a drawing surface.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWinGDI.PIXELFORMATDESCRIPTOR.ByReference- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description bytebReservedSpecifies the number of overlay and underlay planes.bytecAccumAlphaBitsSpecifies the number of alpha bitplanes in the accumulation buffer.bytecAccumBitsSpecifies the total number of bitplanes in the accumulation buffer.bytecAccumBlueBitsSpecifies the number of blue bitplanes in the accumulation buffer.bytecAccumGreenBitsSpecifies the number of green bitplanes in the accumulation buffer.bytecAccumRedBitsSpecifies the number of red bitplanes in the accumulation buffer.bytecAlphaBitsSpecifies the number of alpha bitplanes in each RGBA color buffer.bytecAlphaShiftSpecifies the shift count for alpha bitplanes in each RGBA color buffer.bytecAuxBuffersSpecifies the number of auxiliary buffers.bytecBlueBitsSpecifies the number of blue bitplanes in each RGBA color buffer.bytecBlueShiftSpecifies the shift count for blue bitplanes in each RGBA color buffer.bytecColorBitsSpecifies the number of color bitplanes in each color buffer.bytecDepthBitsSpecifies the depth of the depth (z-axis) buffer.bytecGreenBitsSpecifies the number of green bitplanes in each RGBA color buffer.bytecGreenShiftSpecifies the shift count for green bitplanes in each RGBA color buffer.bytecRedBitsSpecifies the number of red bitplanes in each RGBA color buffer.bytecRedShiftSpecifies the shift count for red bitplanes in each RGBA color buffer.bytecStencilBitsSpecifies the depth of the stencil buffer.intdwDamageMaskIgnored.intdwFlagsA set of bit flags that specify properties of the pixel buffer.intdwLayerMaskIgnored.intdwVisibleMaskSpecifies the transparent color or index of an underlay plane.byteiLayerTypeIgnored.byteiPixelTypeSpecifies the type of pixel data.shortnSizeSpecifies the size of this data structure.shortnVersionSpecifies the version of this data structure.- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description PIXELFORMATDESCRIPTOR()PIXELFORMATDESCRIPTOR(Pointer memory)
 - 
Method Summary- 
Methods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
 
- 
 
- 
- 
- 
Field Detail- 
nSizepublic short nSize Specifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR).
 - 
nVersionpublic short nVersion Specifies the version of this data structure. This value should be set to 1.
 - 
dwFlagspublic int dwFlags A set of bit flags that specify properties of the pixel buffer.
 - 
iPixelTypepublic byte iPixelType Specifies the type of pixel data.
 - 
cColorBitspublic byte cColorBits Specifies the number of color bitplanes in each color buffer.
 - 
cRedBitspublic byte cRedBits Specifies the number of red bitplanes in each RGBA color buffer.
 - 
cRedShiftpublic byte cRedShift Specifies the shift count for red bitplanes in each RGBA color buffer.
 - 
cGreenBitspublic byte cGreenBits Specifies the number of green bitplanes in each RGBA color buffer.
 - 
cGreenShiftpublic byte cGreenShift Specifies the shift count for green bitplanes in each RGBA color buffer.
 - 
cBlueBitspublic byte cBlueBits Specifies the number of blue bitplanes in each RGBA color buffer.
 - 
cBlueShiftpublic byte cBlueShift Specifies the shift count for blue bitplanes in each RGBA color buffer.
 - 
cAlphaBitspublic byte cAlphaBits Specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
 - 
cAlphaShiftpublic byte cAlphaShift Specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
 - 
cAccumBitspublic byte cAccumBits Specifies the total number of bitplanes in the accumulation buffer.
 - 
cAccumRedBitspublic byte cAccumRedBits Specifies the number of red bitplanes in the accumulation buffer.
 - 
cAccumGreenBitspublic byte cAccumGreenBits Specifies the number of green bitplanes in the accumulation buffer.
 - 
cAccumBlueBitspublic byte cAccumBlueBits Specifies the number of blue bitplanes in the accumulation buffer.
 - 
cAccumAlphaBitspublic byte cAccumAlphaBits Specifies the number of alpha bitplanes in the accumulation buffer.
 - 
cDepthBitspublic byte cDepthBits Specifies the depth of the depth (z-axis) buffer.
 - 
cStencilBitspublic byte cStencilBits Specifies the depth of the stencil buffer.
 - 
cAuxBufferspublic byte cAuxBuffers Specifies the number of auxiliary buffers. Auxiliary buffers are not supported.
 - 
iLayerTypepublic byte iLayerType Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
 - 
bReservedpublic byte bReserved Specifies the number of overlay and underlay planes.
 - 
dwLayerMaskpublic int dwLayerMask Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
 - 
dwVisibleMaskpublic int dwVisibleMask Specifies the transparent color or index of an underlay plane.
 - 
dwDamageMaskpublic int dwDamageMask Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
 
- 
 - 
Constructor Detail- 
PIXELFORMATDESCRIPTORpublic PIXELFORMATDESCRIPTOR() 
 - 
PIXELFORMATDESCRIPTORpublic PIXELFORMATDESCRIPTOR(Pointer memory) 
 
- 
 
-