WinGDI.PIXELFORMATDESCRIPTOR.ByReference
public static class WinGDI.PIXELFORMATDESCRIPTOR extends Structure
Modifier and Type | Class | Description |
---|---|---|
static class |
WinGDI.PIXELFORMATDESCRIPTOR.ByReference |
Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
byte |
bReserved |
Specifies the number of overlay and underlay planes.
|
byte |
cAccumAlphaBits |
Specifies the number of alpha bitplanes in the accumulation buffer.
|
byte |
cAccumBits |
Specifies the total number of bitplanes in the accumulation buffer.
|
byte |
cAccumBlueBits |
Specifies the number of blue bitplanes in the accumulation buffer.
|
byte |
cAccumGreenBits |
Specifies the number of green bitplanes in the accumulation buffer.
|
byte |
cAccumRedBits |
Specifies the number of red bitplanes in the accumulation buffer.
|
byte |
cAlphaBits |
Specifies the number of alpha bitplanes in each RGBA color buffer.
|
byte |
cAlphaShift |
Specifies the shift count for alpha bitplanes in each RGBA color buffer.
|
byte |
cAuxBuffers |
Specifies the number of auxiliary buffers.
|
byte |
cBlueBits |
Specifies the number of blue bitplanes in each RGBA color buffer.
|
byte |
cBlueShift |
Specifies the shift count for blue bitplanes in each RGBA color buffer.
|
byte |
cColorBits |
Specifies the number of color bitplanes in each color buffer.
|
byte |
cDepthBits |
Specifies the depth of the depth (z-axis) buffer.
|
byte |
cGreenBits |
Specifies the number of green bitplanes in each RGBA color buffer.
|
byte |
cGreenShift |
Specifies the shift count for green bitplanes in each RGBA color buffer.
|
byte |
cRedBits |
Specifies the number of red bitplanes in each RGBA color buffer.
|
byte |
cRedShift |
Specifies the shift count for red bitplanes in each RGBA color buffer.
|
byte |
cStencilBits |
Specifies the depth of the stencil buffer.
|
int |
dwDamageMask |
Ignored.
|
int |
dwFlags |
A set of bit flags that specify properties of the pixel buffer.
|
int |
dwLayerMask |
Ignored.
|
int |
dwVisibleMask |
Specifies the transparent color or index of an underlay plane.
|
static List<String> |
FIELDS |
|
byte |
iLayerType |
Ignored.
|
byte |
iPixelType |
Specifies the type of pixel data.
|
short |
nSize |
Specifies the size of this data structure.
|
short |
nVersion |
Specifies the version of this data structure.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
PIXELFORMATDESCRIPTOR() |
|
PIXELFORMATDESCRIPTOR(Pointer memory) |
Modifier and Type | Method | Description |
---|---|---|
protected List<String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public short nSize
public short nVersion
public int dwFlags
public byte iPixelType
public byte cColorBits
public byte cRedBits
public byte cRedShift
public byte cGreenBits
public byte cGreenShift
public byte cBlueBits
public byte cBlueShift
public byte cAlphaBits
public byte cAlphaShift
public byte cAccumBits
public byte cAccumRedBits
public byte cAccumGreenBits
public byte cAccumBlueBits
public byte cAccumAlphaBits
public byte cDepthBits
public byte cStencilBits
public byte cAuxBuffers
public byte iLayerType
public byte bReserved
public int dwLayerMask
public int dwVisibleMask
public int dwDamageMask
public PIXELFORMATDESCRIPTOR()
public PIXELFORMATDESCRIPTOR(Pointer memory)
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure