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 ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionbyteSpecifies the number of overlay and underlay planes.byteSpecifies the number of alpha bitplanes in the accumulation buffer.byteSpecifies the total number of bitplanes in the accumulation buffer.byteSpecifies the number of blue bitplanes in the accumulation buffer.byteSpecifies the number of green bitplanes in the accumulation buffer.byteSpecifies the number of red bitplanes in the accumulation buffer.byteSpecifies the number of alpha bitplanes in each RGBA color buffer.byteSpecifies the shift count for alpha bitplanes in each RGBA color buffer.byteSpecifies the number of auxiliary buffers.byteSpecifies the number of blue bitplanes in each RGBA color buffer.byteSpecifies the shift count for blue bitplanes in each RGBA color buffer.byteSpecifies the number of color bitplanes in each color buffer.byteSpecifies the depth of the depth (z-axis) buffer.byteSpecifies the number of green bitplanes in each RGBA color buffer.byteSpecifies the shift count for green bitplanes in each RGBA color buffer.byteSpecifies the number of red bitplanes in each RGBA color buffer.byteSpecifies the shift count for red bitplanes in each RGBA color buffer.byteSpecifies the depth of the stencil buffer.intIgnored.intA set of bit flags that specify properties of the pixel buffer.intIgnored.intSpecifies the transparent color or index of an underlay plane.byteIgnored.byteSpecifies the type of pixel data.shortSpecifies the size of this data structure.shortSpecifies 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
- 
Method SummaryMethods 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 Details- 
nSizepublic short nSizeSpecifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR).
- 
nVersionpublic short nVersionSpecifies the version of this data structure. This value should be set to 1.
- 
dwFlagspublic int dwFlagsA set of bit flags that specify properties of the pixel buffer.
- 
iPixelTypepublic byte iPixelTypeSpecifies the type of pixel data.
- 
cColorBitspublic byte cColorBitsSpecifies the number of color bitplanes in each color buffer.
- 
cRedBitspublic byte cRedBitsSpecifies the number of red bitplanes in each RGBA color buffer.
- 
cRedShiftpublic byte cRedShiftSpecifies the shift count for red bitplanes in each RGBA color buffer.
- 
cGreenBitspublic byte cGreenBitsSpecifies the number of green bitplanes in each RGBA color buffer.
- 
cGreenShiftpublic byte cGreenShiftSpecifies the shift count for green bitplanes in each RGBA color buffer.
- 
cBlueBitspublic byte cBlueBitsSpecifies the number of blue bitplanes in each RGBA color buffer.
- 
cBlueShiftpublic byte cBlueShiftSpecifies the shift count for blue bitplanes in each RGBA color buffer.
- 
cAlphaBitspublic byte cAlphaBitsSpecifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
- 
cAlphaShiftpublic byte cAlphaShiftSpecifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported.
- 
cAccumBitspublic byte cAccumBitsSpecifies the total number of bitplanes in the accumulation buffer.
- 
cAccumRedBitspublic byte cAccumRedBitsSpecifies the number of red bitplanes in the accumulation buffer.
- 
cAccumGreenBitspublic byte cAccumGreenBitsSpecifies the number of green bitplanes in the accumulation buffer.
- 
cAccumBlueBitspublic byte cAccumBlueBitsSpecifies the number of blue bitplanes in the accumulation buffer.
- 
cAccumAlphaBitspublic byte cAccumAlphaBitsSpecifies the number of alpha bitplanes in the accumulation buffer.
- 
cDepthBitspublic byte cDepthBitsSpecifies the depth of the depth (z-axis) buffer.
- 
cStencilBitspublic byte cStencilBitsSpecifies the depth of the stencil buffer.
- 
cAuxBufferspublic byte cAuxBuffersSpecifies the number of auxiliary buffers. Auxiliary buffers are not supported.
- 
iLayerTypepublic byte iLayerTypeIgnored. Earlier implementations of OpenGL used this member, but it is no longer used.
- 
bReservedpublic byte bReservedSpecifies the number of overlay and underlay planes.
- 
dwLayerMaskpublic int dwLayerMaskIgnored. Earlier implementations of OpenGL used this member, but it is no longer used.
- 
dwVisibleMaskpublic int dwVisibleMaskSpecifies the transparent color or index of an underlay plane.
- 
dwDamageMaskpublic int dwDamageMaskIgnored. Earlier implementations of OpenGL used this member, but it is no longer used.
 
- 
- 
Constructor Details- 
PIXELFORMATDESCRIPTORpublic PIXELFORMATDESCRIPTOR()
- 
PIXELFORMATDESCRIPTOR
 
-