Package org.lwjgl.system.windows
Class PIXELFORMATDESCRIPTOR.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<PIXELFORMATDESCRIPTOR,PIXELFORMATDESCRIPTOR.Buffer>
-
- org.lwjgl.system.windows.PIXELFORMATDESCRIPTOR.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, java.lang.Iterable<PIXELFORMATDESCRIPTOR>, NativeResource, Pointer
- Enclosing class:
- PIXELFORMATDESCRIPTOR
public static class PIXELFORMATDESCRIPTOR.Buffer extends StructBuffer<PIXELFORMATDESCRIPTOR,PIXELFORMATDESCRIPTOR.Buffer> implements NativeResource
An array ofPIXELFORMATDESCRIPTOR
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
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newPIXELFORMATDESCRIPTOR.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte
bReserved()
Returns the value of thebReserved
field.PIXELFORMATDESCRIPTOR.Buffer
bReserved(byte value)
Sets the specified value to thebReserved
field.byte
cAccumAlphaBits()
Returns the value of thecAccumAlphaBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAccumAlphaBits(byte value)
Sets the specified value to thecAccumAlphaBits
field.byte
cAccumBits()
Returns the value of thecAccumBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAccumBits(byte value)
Sets the specified value to thecAccumBits
field.byte
cAccumBlueBits()
Returns the value of thecAccumBlueBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAccumBlueBits(byte value)
Sets the specified value to thecAccumBlueBits
field.byte
cAccumGreenBits()
Returns the value of thecAccumGreenBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAccumGreenBits(byte value)
Sets the specified value to thecAccumGreenBits
field.byte
cAccumRedBits()
Returns the value of thecAccumRedBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAccumRedBits(byte value)
Sets the specified value to thecAccumRedBits
field.byte
cAlphaBits()
Returns the value of thecAlphaBits
field.PIXELFORMATDESCRIPTOR.Buffer
cAlphaBits(byte value)
Sets the specified value to thecAlphaBits
field.byte
cAlphaShift()
Returns the value of thecAlphaShift
field.PIXELFORMATDESCRIPTOR.Buffer
cAlphaShift(byte value)
Sets the specified value to thecAlphaShift
field.byte
cAuxBuffers()
Returns the value of thecAuxBuffers
field.PIXELFORMATDESCRIPTOR.Buffer
cAuxBuffers(byte value)
Sets the specified value to thecAuxBuffers
field.byte
cBlueBits()
Returns the value of thecBlueBits
field.PIXELFORMATDESCRIPTOR.Buffer
cBlueBits(byte value)
Sets the specified value to thecBlueBits
field.byte
cBlueShift()
Returns the value of thecBlueShift
field.PIXELFORMATDESCRIPTOR.Buffer
cBlueShift(byte value)
Sets the specified value to thecBlueShift
field.byte
cColorBits()
Returns the value of thecColorBits
field.PIXELFORMATDESCRIPTOR.Buffer
cColorBits(byte value)
Sets the specified value to thecColorBits
field.byte
cDepthBits()
Returns the value of thecDepthBits
field.PIXELFORMATDESCRIPTOR.Buffer
cDepthBits(byte value)
Sets the specified value to thecDepthBits
field.byte
cGreenBits()
Returns the value of thecGreenBits
field.PIXELFORMATDESCRIPTOR.Buffer
cGreenBits(byte value)
Sets the specified value to thecGreenBits
field.byte
cGreenShift()
Returns the value of thecGreenShift
field.PIXELFORMATDESCRIPTOR.Buffer
cGreenShift(byte value)
Sets the specified value to thecGreenShift
field.byte
cRedBits()
Returns the value of thecRedBits
field.PIXELFORMATDESCRIPTOR.Buffer
cRedBits(byte value)
Sets the specified value to thecRedBits
field.byte
cRedShift()
Returns the value of thecRedShift
field.PIXELFORMATDESCRIPTOR.Buffer
cRedShift(byte value)
Sets the specified value to thecRedShift
field.byte
cStencilBits()
Returns the value of thecStencilBits
field.PIXELFORMATDESCRIPTOR.Buffer
cStencilBits(byte value)
Sets the specified value to thecStencilBits
field.int
dwDamageMask()
Returns the value of thedwDamageMask
field.PIXELFORMATDESCRIPTOR.Buffer
dwDamageMask(int value)
Sets the specified value to thedwDamageMask
field.int
dwFlags()
Returns the value of thedwFlags
field.PIXELFORMATDESCRIPTOR.Buffer
dwFlags(int value)
Sets the specified value to thedwFlags
field.int
dwLayerMask()
Returns the value of thedwLayerMask
field.PIXELFORMATDESCRIPTOR.Buffer
dwLayerMask(int value)
Sets the specified value to thedwLayerMask
field.int
dwVisibleMask()
Returns the value of thedwVisibleMask
field.PIXELFORMATDESCRIPTOR.Buffer
dwVisibleMask(int value)
Sets the specified value to thedwVisibleMask
field.byte
iLayerType()
Returns the value of theiLayerType
field.PIXELFORMATDESCRIPTOR.Buffer
iLayerType(byte value)
Sets the specified value to theiLayerType
field.byte
iPixelType()
Returns the value of theiPixelType
field.PIXELFORMATDESCRIPTOR.Buffer
iPixelType(byte value)
Sets the specified value to theiPixelType
field.short
nSize()
Returns the value of thenSize
field.PIXELFORMATDESCRIPTOR.Buffer
nSize(short value)
Sets the specified value to thenSize
field.short
nVersion()
Returns the value of thenVersion
field.PIXELFORMATDESCRIPTOR.Buffer
nVersion(short value)
Sets the specified value to thenVersion
field.int
sizeof()
Returns thesizeof
a single element in the buffer.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byPIXELFORMATDESCRIPTOR.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:CustomBuffer
Returns thesizeof
a single element in the buffer.- Specified by:
sizeof
in classCustomBuffer<PIXELFORMATDESCRIPTOR.Buffer>
-
nSize
public short nSize()
Returns the value of thenSize
field.
-
nVersion
public short nVersion()
Returns the value of thenVersion
field.
-
dwFlags
public int dwFlags()
Returns the value of thedwFlags
field.
-
iPixelType
public byte iPixelType()
Returns the value of theiPixelType
field.
-
cColorBits
public byte cColorBits()
Returns the value of thecColorBits
field.
-
cRedBits
public byte cRedBits()
Returns the value of thecRedBits
field.
-
cRedShift
public byte cRedShift()
Returns the value of thecRedShift
field.
-
cGreenBits
public byte cGreenBits()
Returns the value of thecGreenBits
field.
-
cGreenShift
public byte cGreenShift()
Returns the value of thecGreenShift
field.
-
cBlueBits
public byte cBlueBits()
Returns the value of thecBlueBits
field.
-
cBlueShift
public byte cBlueShift()
Returns the value of thecBlueShift
field.
-
cAlphaBits
public byte cAlphaBits()
Returns the value of thecAlphaBits
field.
-
cAlphaShift
public byte cAlphaShift()
Returns the value of thecAlphaShift
field.
-
cAccumBits
public byte cAccumBits()
Returns the value of thecAccumBits
field.
-
cAccumRedBits
public byte cAccumRedBits()
Returns the value of thecAccumRedBits
field.
-
cAccumGreenBits
public byte cAccumGreenBits()
Returns the value of thecAccumGreenBits
field.
-
cAccumBlueBits
public byte cAccumBlueBits()
Returns the value of thecAccumBlueBits
field.
-
cAccumAlphaBits
public byte cAccumAlphaBits()
Returns the value of thecAccumAlphaBits
field.
-
cDepthBits
public byte cDepthBits()
Returns the value of thecDepthBits
field.
-
cStencilBits
public byte cStencilBits()
Returns the value of thecStencilBits
field.
-
cAuxBuffers
public byte cAuxBuffers()
Returns the value of thecAuxBuffers
field.
-
iLayerType
public byte iLayerType()
Returns the value of theiLayerType
field.
-
bReserved
public byte bReserved()
Returns the value of thebReserved
field.
-
dwLayerMask
public int dwLayerMask()
Returns the value of thedwLayerMask
field.
-
dwVisibleMask
public int dwVisibleMask()
Returns the value of thedwVisibleMask
field.
-
dwDamageMask
public int dwDamageMask()
Returns the value of thedwDamageMask
field.
-
nSize
public PIXELFORMATDESCRIPTOR.Buffer nSize(short value)
Sets the specified value to thenSize
field.
-
nVersion
public PIXELFORMATDESCRIPTOR.Buffer nVersion(short value)
Sets the specified value to thenVersion
field.
-
dwFlags
public PIXELFORMATDESCRIPTOR.Buffer dwFlags(int value)
Sets the specified value to thedwFlags
field.
-
iPixelType
public PIXELFORMATDESCRIPTOR.Buffer iPixelType(byte value)
Sets the specified value to theiPixelType
field.
-
cColorBits
public PIXELFORMATDESCRIPTOR.Buffer cColorBits(byte value)
Sets the specified value to thecColorBits
field.
-
cRedBits
public PIXELFORMATDESCRIPTOR.Buffer cRedBits(byte value)
Sets the specified value to thecRedBits
field.
-
cRedShift
public PIXELFORMATDESCRIPTOR.Buffer cRedShift(byte value)
Sets the specified value to thecRedShift
field.
-
cGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cGreenBits(byte value)
Sets the specified value to thecGreenBits
field.
-
cGreenShift
public PIXELFORMATDESCRIPTOR.Buffer cGreenShift(byte value)
Sets the specified value to thecGreenShift
field.
-
cBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cBlueBits(byte value)
Sets the specified value to thecBlueBits
field.
-
cBlueShift
public PIXELFORMATDESCRIPTOR.Buffer cBlueShift(byte value)
Sets the specified value to thecBlueShift
field.
-
cAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAlphaBits(byte value)
Sets the specified value to thecAlphaBits
field.
-
cAlphaShift
public PIXELFORMATDESCRIPTOR.Buffer cAlphaShift(byte value)
Sets the specified value to thecAlphaShift
field.
-
cAccumBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBits(byte value)
Sets the specified value to thecAccumBits
field.
-
cAccumRedBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumRedBits(byte value)
Sets the specified value to thecAccumRedBits
field.
-
cAccumGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumGreenBits(byte value)
Sets the specified value to thecAccumGreenBits
field.
-
cAccumBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBlueBits(byte value)
Sets the specified value to thecAccumBlueBits
field.
-
cAccumAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumAlphaBits(byte value)
Sets the specified value to thecAccumAlphaBits
field.
-
cDepthBits
public PIXELFORMATDESCRIPTOR.Buffer cDepthBits(byte value)
Sets the specified value to thecDepthBits
field.
-
cStencilBits
public PIXELFORMATDESCRIPTOR.Buffer cStencilBits(byte value)
Sets the specified value to thecStencilBits
field.
-
cAuxBuffers
public PIXELFORMATDESCRIPTOR.Buffer cAuxBuffers(byte value)
Sets the specified value to thecAuxBuffers
field.
-
iLayerType
public PIXELFORMATDESCRIPTOR.Buffer iLayerType(byte value)
Sets the specified value to theiLayerType
field.
-
bReserved
public PIXELFORMATDESCRIPTOR.Buffer bReserved(byte value)
Sets the specified value to thebReserved
field.
-
dwLayerMask
public PIXELFORMATDESCRIPTOR.Buffer dwLayerMask(int value)
Sets the specified value to thedwLayerMask
field.
-
dwVisibleMask
public PIXELFORMATDESCRIPTOR.Buffer dwVisibleMask(int value)
Sets the specified value to thedwVisibleMask
field.
-
dwDamageMask
public PIXELFORMATDESCRIPTOR.Buffer dwDamageMask(int value)
Sets the specified value to thedwDamageMask
field.
-
-