Class PIXELFORMATDESCRIPTOR.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<PIXELFORMATDESCRIPTOR.Buffer>
org.lwjgl.system.StructBuffer<PIXELFORMATDESCRIPTOR, PIXELFORMATDESCRIPTOR.Buffer>
org.lwjgl.system.windows.PIXELFORMATDESCRIPTOR.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<PIXELFORMATDESCRIPTOR>, NativeResource, Pointer
- Enclosing class:
PIXELFORMATDESCRIPTOR
public static class PIXELFORMATDESCRIPTOR.Buffer
extends StructBuffer<PIXELFORMATDESCRIPTOR, PIXELFORMATDESCRIPTOR.Buffer>
implements NativeResource
An array of
PIXELFORMATDESCRIPTOR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newPIXELFORMATDESCRIPTOR.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytebReserved(byte value) Sets the specified value to thebReservedfield.bytecAccumAlphaBits(byte value) Sets the specified value to thecAccumAlphaBitsfield.bytecAccumBits(byte value) Sets the specified value to thecAccumBitsfield.bytecAccumBlueBits(byte value) Sets the specified value to thecAccumBlueBitsfield.bytecAccumGreenBits(byte value) Sets the specified value to thecAccumGreenBitsfield.bytecAccumRedBits(byte value) Sets the specified value to thecAccumRedBitsfield.bytecAlphaBits(byte value) Sets the specified value to thecAlphaBitsfield.bytecAlphaShift(byte value) Sets the specified value to thecAlphaShiftfield.bytecAuxBuffers(byte value) Sets the specified value to thecAuxBuffersfield.bytecBlueBits(byte value) Sets the specified value to thecBlueBitsfield.bytecBlueShift(byte value) Sets the specified value to thecBlueShiftfield.bytecColorBits(byte value) Sets the specified value to thecColorBitsfield.bytecDepthBits(byte value) Sets the specified value to thecDepthBitsfield.bytecGreenBits(byte value) Sets the specified value to thecGreenBitsfield.bytecGreenShift(byte value) Sets the specified value to thecGreenShiftfield.bytecRedBits()cRedBits(byte value) Sets the specified value to thecRedBitsfield.bytecRedShift(byte value) Sets the specified value to thecRedShiftfield.bytecStencilBits(byte value) Sets the specified value to thecStencilBitsfield.intdwDamageMask(int value) Sets the specified value to thedwDamageMaskfield.intdwFlags()dwFlags(int value) Sets the specified value to thedwFlagsfield.intdwLayerMask(int value) Sets the specified value to thedwLayerMaskfield.intdwVisibleMask(int value) Sets the specified value to thedwVisibleMaskfield.byteiLayerType(byte value) Sets the specified value to theiLayerTypefield.byteiPixelType(byte value) Sets the specified value to theiPixelTypefield.shortnSize()nSize(short value) Sets the specified value to thenSizefield.shortnVersion()nVersion(short value) Sets the specified value to thenVersionfield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newPIXELFORMATDESCRIPTOR.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
PIXELFORMATDESCRIPTOR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
nSize
- Returns:
- the value of the
nSizefield.
-
nVersion
- Returns:
- the value of the
nVersionfield.
-
dwFlags
- Returns:
- the value of the
dwFlagsfield.
-
iPixelType
- Returns:
- the value of the
iPixelTypefield.
-
cColorBits
- Returns:
- the value of the
cColorBitsfield.
-
cRedBits
- Returns:
- the value of the
cRedBitsfield.
-
cRedShift
- Returns:
- the value of the
cRedShiftfield.
-
cGreenBits
- Returns:
- the value of the
cGreenBitsfield.
-
cGreenShift
- Returns:
- the value of the
cGreenShiftfield.
-
cBlueBits
- Returns:
- the value of the
cBlueBitsfield.
-
cBlueShift
- Returns:
- the value of the
cBlueShiftfield.
-
cAlphaBits
- Returns:
- the value of the
cAlphaBitsfield.
-
cAlphaShift
- Returns:
- the value of the
cAlphaShiftfield.
-
cAccumBits
- Returns:
- the value of the
cAccumBitsfield.
-
cAccumRedBits
- Returns:
- the value of the
cAccumRedBitsfield.
-
cAccumGreenBits
- Returns:
- the value of the
cAccumGreenBitsfield.
-
cAccumBlueBits
- Returns:
- the value of the
cAccumBlueBitsfield.
-
cAccumAlphaBits
- Returns:
- the value of the
cAccumAlphaBitsfield.
-
cDepthBits
- Returns:
- the value of the
cDepthBitsfield.
-
cStencilBits
- Returns:
- the value of the
cStencilBitsfield.
-
cAuxBuffers
- Returns:
- the value of the
cAuxBuffersfield.
-
iLayerType
- Returns:
- the value of the
iLayerTypefield.
-
bReserved
- Returns:
- the value of the
bReservedfield.
-
dwLayerMask
- Returns:
- the value of the
dwLayerMaskfield.
-
dwVisibleMask
- Returns:
- the value of the
dwVisibleMaskfield.
-
dwDamageMask
- Returns:
- the value of the
dwDamageMaskfield.
-
nSize
Sets the specified value to thenSizefield. -
nVersion
Sets the specified value to thenVersionfield. -
dwFlags
Sets the specified value to thedwFlagsfield. -
iPixelType
Sets the specified value to theiPixelTypefield. -
cColorBits
Sets the specified value to thecColorBitsfield. -
cRedBits
Sets the specified value to thecRedBitsfield. -
cRedShift
Sets the specified value to thecRedShiftfield. -
cGreenBits
Sets the specified value to thecGreenBitsfield. -
cGreenShift
Sets the specified value to thecGreenShiftfield. -
cBlueBits
Sets the specified value to thecBlueBitsfield. -
cBlueShift
Sets the specified value to thecBlueShiftfield. -
cAlphaBits
Sets the specified value to thecAlphaBitsfield. -
cAlphaShift
Sets the specified value to thecAlphaShiftfield. -
cAccumBits
Sets the specified value to thecAccumBitsfield. -
cAccumRedBits
Sets the specified value to thecAccumRedBitsfield. -
cAccumGreenBits
Sets the specified value to thecAccumGreenBitsfield. -
cAccumBlueBits
Sets the specified value to thecAccumBlueBitsfield. -
cAccumAlphaBits
Sets the specified value to thecAccumAlphaBitsfield. -
cDepthBits
Sets the specified value to thecDepthBitsfield. -
cStencilBits
Sets the specified value to thecStencilBitsfield. -
cAuxBuffers
Sets the specified value to thecAuxBuffersfield. -
iLayerType
Sets the specified value to theiLayerTypefield. -
bReserved
Sets the specified value to thebReservedfield. -
dwLayerMask
Sets the specified value to thedwLayerMaskfield. -
dwVisibleMask
Sets the specified value to thedwVisibleMaskfield. -
dwDamageMask
Sets the specified value to thedwDamageMaskfield.
-