Package org.lwjgl.system.windows
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 org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.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 org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.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 org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.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
public short nSize()- Returns:
- the value of the
nSizefield.
-
nVersion
public short nVersion()- Returns:
- the value of the
nVersionfield.
-
dwFlags
public int dwFlags()- Returns:
- the value of the
dwFlagsfield.
-
iPixelType
public byte iPixelType()- Returns:
- the value of the
iPixelTypefield.
-
cColorBits
public byte cColorBits()- Returns:
- the value of the
cColorBitsfield.
-
cRedBits
public byte cRedBits()- Returns:
- the value of the
cRedBitsfield.
-
cRedShift
public byte cRedShift()- Returns:
- the value of the
cRedShiftfield.
-
cGreenBits
public byte cGreenBits()- Returns:
- the value of the
cGreenBitsfield.
-
cGreenShift
public byte cGreenShift()- Returns:
- the value of the
cGreenShiftfield.
-
cBlueBits
public byte cBlueBits()- Returns:
- the value of the
cBlueBitsfield.
-
cBlueShift
public byte cBlueShift()- Returns:
- the value of the
cBlueShiftfield.
-
cAlphaBits
public byte cAlphaBits()- Returns:
- the value of the
cAlphaBitsfield.
-
cAlphaShift
public byte cAlphaShift()- Returns:
- the value of the
cAlphaShiftfield.
-
cAccumBits
public byte cAccumBits()- Returns:
- the value of the
cAccumBitsfield.
-
cAccumRedBits
public byte cAccumRedBits()- Returns:
- the value of the
cAccumRedBitsfield.
-
cAccumGreenBits
public byte cAccumGreenBits()- Returns:
- the value of the
cAccumGreenBitsfield.
-
cAccumBlueBits
public byte cAccumBlueBits()- Returns:
- the value of the
cAccumBlueBitsfield.
-
cAccumAlphaBits
public byte cAccumAlphaBits()- Returns:
- the value of the
cAccumAlphaBitsfield.
-
cDepthBits
public byte cDepthBits()- Returns:
- the value of the
cDepthBitsfield.
-
cStencilBits
public byte cStencilBits()- Returns:
- the value of the
cStencilBitsfield.
-
cAuxBuffers
public byte cAuxBuffers()- Returns:
- the value of the
cAuxBuffersfield.
-
iLayerType
public byte iLayerType()- Returns:
- the value of the
iLayerTypefield.
-
bReserved
public byte bReserved()- Returns:
- the value of the
bReservedfield.
-
dwLayerMask
public int dwLayerMask()- Returns:
- the value of the
dwLayerMaskfield.
-
dwVisibleMask
public int dwVisibleMask()- Returns:
- the value of the
dwVisibleMaskfield.
-
dwDamageMask
public int 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.
-