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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
bReserved
(byte value) Sets the specified value to thebReserved
field.byte
cAccumAlphaBits
(byte value) Sets the specified value to thecAccumAlphaBits
field.byte
cAccumBits
(byte value) Sets the specified value to thecAccumBits
field.byte
cAccumBlueBits
(byte value) Sets the specified value to thecAccumBlueBits
field.byte
cAccumGreenBits
(byte value) Sets the specified value to thecAccumGreenBits
field.byte
cAccumRedBits
(byte value) Sets the specified value to thecAccumRedBits
field.byte
cAlphaBits
(byte value) Sets the specified value to thecAlphaBits
field.byte
cAlphaShift
(byte value) Sets the specified value to thecAlphaShift
field.byte
cAuxBuffers
(byte value) Sets the specified value to thecAuxBuffers
field.byte
cBlueBits
(byte value) Sets the specified value to thecBlueBits
field.byte
cBlueShift
(byte value) Sets the specified value to thecBlueShift
field.byte
cColorBits
(byte value) Sets the specified value to thecColorBits
field.byte
cDepthBits
(byte value) Sets the specified value to thecDepthBits
field.byte
cGreenBits
(byte value) Sets the specified value to thecGreenBits
field.byte
cGreenShift
(byte value) Sets the specified value to thecGreenShift
field.byte
cRedBits()
cRedBits
(byte value) Sets the specified value to thecRedBits
field.byte
cRedShift
(byte value) Sets the specified value to thecRedShift
field.byte
cStencilBits
(byte value) Sets the specified value to thecStencilBits
field.int
dwDamageMask
(int value) Sets the specified value to thedwDamageMask
field.int
dwFlags()
dwFlags
(int value) Sets the specified value to thedwFlags
field.int
dwLayerMask
(int value) Sets the specified value to thedwLayerMask
field.int
dwVisibleMask
(int value) Sets the specified value to thedwVisibleMask
field.byte
iLayerType
(byte value) Sets the specified value to theiLayerType
field.byte
iPixelType
(byte value) Sets the specified value to theiPixelType
field.short
nSize()
nSize
(short value) Sets the specified value to thenSize
field.short
nVersion()
nVersion
(short value) Sets the specified value to thenVersion
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newPIXELFORMATDESCRIPTOR.Buffer
instance 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
nSize
field.
-
nVersion
public short nVersion()- Returns:
- the value of the
nVersion
field.
-
dwFlags
public int dwFlags()- Returns:
- the value of the
dwFlags
field.
-
iPixelType
public byte iPixelType()- Returns:
- the value of the
iPixelType
field.
-
cColorBits
public byte cColorBits()- Returns:
- the value of the
cColorBits
field.
-
cRedBits
public byte cRedBits()- Returns:
- the value of the
cRedBits
field.
-
cRedShift
public byte cRedShift()- Returns:
- the value of the
cRedShift
field.
-
cGreenBits
public byte cGreenBits()- Returns:
- the value of the
cGreenBits
field.
-
cGreenShift
public byte cGreenShift()- Returns:
- the value of the
cGreenShift
field.
-
cBlueBits
public byte cBlueBits()- Returns:
- the value of the
cBlueBits
field.
-
cBlueShift
public byte cBlueShift()- Returns:
- the value of the
cBlueShift
field.
-
cAlphaBits
public byte cAlphaBits()- Returns:
- the value of the
cAlphaBits
field.
-
cAlphaShift
public byte cAlphaShift()- Returns:
- the value of the
cAlphaShift
field.
-
cAccumBits
public byte cAccumBits()- Returns:
- the value of the
cAccumBits
field.
-
cAccumRedBits
public byte cAccumRedBits()- Returns:
- the value of the
cAccumRedBits
field.
-
cAccumGreenBits
public byte cAccumGreenBits()- Returns:
- the value of the
cAccumGreenBits
field.
-
cAccumBlueBits
public byte cAccumBlueBits()- Returns:
- the value of the
cAccumBlueBits
field.
-
cAccumAlphaBits
public byte cAccumAlphaBits()- Returns:
- the value of the
cAccumAlphaBits
field.
-
cDepthBits
public byte cDepthBits()- Returns:
- the value of the
cDepthBits
field.
-
cStencilBits
public byte cStencilBits()- Returns:
- the value of the
cStencilBits
field.
-
cAuxBuffers
public byte cAuxBuffers()- Returns:
- the value of the
cAuxBuffers
field.
-
iLayerType
public byte iLayerType()- Returns:
- the value of the
iLayerType
field.
-
bReserved
public byte bReserved()- Returns:
- the value of the
bReserved
field.
-
dwLayerMask
public int dwLayerMask()- Returns:
- the value of the
dwLayerMask
field.
-
dwVisibleMask
public int dwVisibleMask()- Returns:
- the value of the
dwVisibleMask
field.
-
dwDamageMask
public int dwDamageMask()- Returns:
- the value of the
dwDamageMask
field.
-
nSize
Sets the specified value to thenSize
field. -
nVersion
Sets the specified value to thenVersion
field. -
dwFlags
Sets the specified value to thedwFlags
field. -
iPixelType
Sets the specified value to theiPixelType
field. -
cColorBits
Sets the specified value to thecColorBits
field. -
cRedBits
Sets the specified value to thecRedBits
field. -
cRedShift
Sets the specified value to thecRedShift
field. -
cGreenBits
Sets the specified value to thecGreenBits
field. -
cGreenShift
Sets the specified value to thecGreenShift
field. -
cBlueBits
Sets the specified value to thecBlueBits
field. -
cBlueShift
Sets the specified value to thecBlueShift
field. -
cAlphaBits
Sets the specified value to thecAlphaBits
field. -
cAlphaShift
Sets the specified value to thecAlphaShift
field. -
cAccumBits
Sets the specified value to thecAccumBits
field. -
cAccumRedBits
Sets the specified value to thecAccumRedBits
field. -
cAccumGreenBits
Sets the specified value to thecAccumGreenBits
field. -
cAccumBlueBits
Sets the specified value to thecAccumBlueBits
field. -
cAccumAlphaBits
Sets the specified value to thecAccumAlphaBits
field. -
cDepthBits
Sets the specified value to thecDepthBits
field. -
cStencilBits
Sets the specified value to thecStencilBits
field. -
cAuxBuffers
Sets the specified value to thecAuxBuffers
field. -
iLayerType
Sets the specified value to theiLayerType
field. -
bReserved
Sets the specified value to thebReserved
field. -
dwLayerMask
Sets the specified value to thedwLayerMask
field. -
dwVisibleMask
Sets the specified value to thedwVisibleMask
field. -
dwDamageMask
Sets the specified value to thedwDamageMask
field.
-