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 Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte
Specifies the number of overlay and underlay planes.byte
Specifies the number of alpha bitplanes in the accumulation buffer.byte
Specifies the total number of bitplanes in the accumulation buffer.byte
Specifies the number of blue bitplanes in the accumulation buffer.byte
Specifies the number of green bitplanes in the accumulation buffer.byte
Specifies the number of red bitplanes in the accumulation buffer.byte
Specifies the number of alpha bitplanes in each RGBA color buffer.byte
Specifies the shift count for alpha bitplanes in each RGBA color buffer.byte
Specifies the number of auxiliary buffers.byte
Specifies the number of blue bitplanes in each RGBA color buffer.byte
Specifies the shift count for blue bitplanes in each RGBA color buffer.byte
Specifies the number of color bitplanes in each color buffer.byte
Specifies the depth of the depth (z-axis) buffer.byte
Specifies the number of green bitplanes in each RGBA color buffer.byte
Specifies the shift count for green bitplanes in each RGBA color buffer.byte
Specifies the number of red bitplanes in each RGBA color buffer.byte
Specifies the shift count for red bitplanes in each RGBA color buffer.byte
Specifies the depth of the stencil buffer.int
Ignored.int
A set of bit flags that specify properties of the pixel buffer.int
Ignored.int
Specifies the transparent color or index of an underlay plane.byte
Ignored.byte
Specifies the type of pixel data.short
Specifies the size of this data structure.short
Specifies the version of this data structure.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, 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
-
nSize
public short nSizeSpecifies the size of this data structure. This value should be set to sizeof(PIXELFORMATDESCRIPTOR). -
nVersion
public short nVersionSpecifies the version of this data structure. This value should be set to 1. -
dwFlags
public int dwFlagsA set of bit flags that specify properties of the pixel buffer. -
iPixelType
public byte iPixelTypeSpecifies the type of pixel data. -
cColorBits
public byte cColorBitsSpecifies the number of color bitplanes in each color buffer. -
cRedBits
public byte cRedBitsSpecifies the number of red bitplanes in each RGBA color buffer. -
cRedShift
public byte cRedShiftSpecifies the shift count for red bitplanes in each RGBA color buffer. -
cGreenBits
public byte cGreenBitsSpecifies the number of green bitplanes in each RGBA color buffer. -
cGreenShift
public byte cGreenShiftSpecifies the shift count for green bitplanes in each RGBA color buffer. -
cBlueBits
public byte cBlueBitsSpecifies the number of blue bitplanes in each RGBA color buffer. -
cBlueShift
public byte cBlueShiftSpecifies the shift count for blue bitplanes in each RGBA color buffer. -
cAlphaBits
public byte cAlphaBitsSpecifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported. -
cAlphaShift
public byte cAlphaShiftSpecifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported. -
cAccumBits
public byte cAccumBitsSpecifies the total number of bitplanes in the accumulation buffer. -
cAccumRedBits
public byte cAccumRedBitsSpecifies the number of red bitplanes in the accumulation buffer. -
cAccumGreenBits
public byte cAccumGreenBitsSpecifies the number of green bitplanes in the accumulation buffer. -
cAccumBlueBits
public byte cAccumBlueBitsSpecifies the number of blue bitplanes in the accumulation buffer. -
cAccumAlphaBits
public byte cAccumAlphaBitsSpecifies the number of alpha bitplanes in the accumulation buffer. -
cDepthBits
public byte cDepthBitsSpecifies the depth of the depth (z-axis) buffer. -
cStencilBits
public byte cStencilBitsSpecifies the depth of the stencil buffer. -
cAuxBuffers
public byte cAuxBuffersSpecifies the number of auxiliary buffers. Auxiliary buffers are not supported. -
iLayerType
public byte iLayerTypeIgnored. Earlier implementations of OpenGL used this member, but it is no longer used. -
bReserved
public byte bReservedSpecifies the number of overlay and underlay planes. -
dwLayerMask
public int dwLayerMaskIgnored. Earlier implementations of OpenGL used this member, but it is no longer used. -
dwVisibleMask
public int dwVisibleMaskSpecifies the transparent color or index of an underlay plane. -
dwDamageMask
public int dwDamageMaskIgnored. Earlier implementations of OpenGL used this member, but it is no longer used.
-
-
Constructor Details
-
PIXELFORMATDESCRIPTOR
public PIXELFORMATDESCRIPTOR() -
PIXELFORMATDESCRIPTOR
-