Package org.lwjgl.system.windows
Class PIXELFORMATDESCRIPTOR.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<PIXELFORMATDESCRIPTOR,PIXELFORMATDESCRIPTOR.Buffer>
-
- org.lwjgl.system.windows.PIXELFORMATDESCRIPTOR.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- PIXELFORMATDESCRIPTOR
public static final class PIXELFORMATDESCRIPTOR.Buffer extends StructBuffer<PIXELFORMATDESCRIPTOR,PIXELFORMATDESCRIPTOR.Buffer>
An array ofPIXELFORMATDESCRIPTORstructs.
-
-
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.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description bytebReserved()Returns the value of thebReservedfield.PIXELFORMATDESCRIPTOR.BufferbReserved(byte value)Sets the specified value to thebReservedfield.bytecAccumAlphaBits()Returns the value of thecAccumAlphaBitsfield.PIXELFORMATDESCRIPTOR.BuffercAccumAlphaBits(byte value)Sets the specified value to thecAccumAlphaBitsfield.bytecAccumBits()Returns the value of thecAccumBitsfield.PIXELFORMATDESCRIPTOR.BuffercAccumBits(byte value)Sets the specified value to thecAccumBitsfield.bytecAccumBlueBits()Returns the value of thecAccumBlueBitsfield.PIXELFORMATDESCRIPTOR.BuffercAccumBlueBits(byte value)Sets the specified value to thecAccumBlueBitsfield.bytecAccumGreenBits()Returns the value of thecAccumGreenBitsfield.PIXELFORMATDESCRIPTOR.BuffercAccumGreenBits(byte value)Sets the specified value to thecAccumGreenBitsfield.bytecAccumRedBits()Returns the value of thecAccumRedBitsfield.PIXELFORMATDESCRIPTOR.BuffercAccumRedBits(byte value)Sets the specified value to thecAccumRedBitsfield.bytecAlphaBits()Returns the value of thecAlphaBitsfield.PIXELFORMATDESCRIPTOR.BuffercAlphaBits(byte value)Sets the specified value to thecAlphaBitsfield.bytecAlphaShift()Returns the value of thecAlphaShiftfield.PIXELFORMATDESCRIPTOR.BuffercAlphaShift(byte value)Sets the specified value to thecAlphaShiftfield.bytecAuxBuffers()Returns the value of thecAuxBuffersfield.PIXELFORMATDESCRIPTOR.BuffercAuxBuffers(byte value)Sets the specified value to thecAuxBuffersfield.bytecBlueBits()Returns the value of thecBlueBitsfield.PIXELFORMATDESCRIPTOR.BuffercBlueBits(byte value)Sets the specified value to thecBlueBitsfield.bytecBlueShift()Returns the value of thecBlueShiftfield.PIXELFORMATDESCRIPTOR.BuffercBlueShift(byte value)Sets the specified value to thecBlueShiftfield.bytecColorBits()Returns the value of thecColorBitsfield.PIXELFORMATDESCRIPTOR.BuffercColorBits(byte value)Sets the specified value to thecColorBitsfield.bytecDepthBits()Returns the value of thecDepthBitsfield.PIXELFORMATDESCRIPTOR.BuffercDepthBits(byte value)Sets the specified value to thecDepthBitsfield.bytecGreenBits()Returns the value of thecGreenBitsfield.PIXELFORMATDESCRIPTOR.BuffercGreenBits(byte value)Sets the specified value to thecGreenBitsfield.bytecGreenShift()Returns the value of thecGreenShiftfield.PIXELFORMATDESCRIPTOR.BuffercGreenShift(byte value)Sets the specified value to thecGreenShiftfield.bytecRedBits()Returns the value of thecRedBitsfield.PIXELFORMATDESCRIPTOR.BuffercRedBits(byte value)Sets the specified value to thecRedBitsfield.bytecRedShift()Returns the value of thecRedShiftfield.PIXELFORMATDESCRIPTOR.BuffercRedShift(byte value)Sets the specified value to thecRedShiftfield.bytecStencilBits()Returns the value of thecStencilBitsfield.PIXELFORMATDESCRIPTOR.BuffercStencilBits(byte value)Sets the specified value to thecStencilBitsfield.intdwDamageMask()Returns the value of thedwDamageMaskfield.PIXELFORMATDESCRIPTOR.BufferdwDamageMask(int value)Sets the specified value to thedwDamageMaskfield.intdwFlags()Returns the value of thedwFlagsfield.PIXELFORMATDESCRIPTOR.BufferdwFlags(int value)Sets the specified value to thedwFlagsfield.intdwLayerMask()Returns the value of thedwLayerMaskfield.PIXELFORMATDESCRIPTOR.BufferdwLayerMask(int value)Sets the specified value to thedwLayerMaskfield.intdwVisibleMask()Returns the value of thedwVisibleMaskfield.PIXELFORMATDESCRIPTOR.BufferdwVisibleMask(int value)Sets the specified value to thedwVisibleMaskfield.byteiLayerType()Returns the value of theiLayerTypefield.PIXELFORMATDESCRIPTOR.BufferiLayerType(byte value)Sets the specified value to theiLayerTypefield.byteiPixelType()Returns the value of theiPixelTypefield.PIXELFORMATDESCRIPTOR.BufferiPixelType(byte value)Sets the specified value to theiPixelTypefield.shortnSize()Returns the value of thenSizefield.PIXELFORMATDESCRIPTOR.BuffernSize(short value)Sets the specified value to thenSizefield.shortnVersion()Returns the value of thenVersionfield.PIXELFORMATDESCRIPTOR.BuffernVersion(short value)Sets the specified value to thenVersionfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, 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
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byPIXELFORMATDESCRIPTOR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
nSize
public short nSize()
Returns the value of thenSizefield.
-
nVersion
public short nVersion()
Returns the value of thenVersionfield.
-
dwFlags
public int dwFlags()
Returns the value of thedwFlagsfield.
-
iPixelType
public byte iPixelType()
Returns the value of theiPixelTypefield.
-
cColorBits
public byte cColorBits()
Returns the value of thecColorBitsfield.
-
cRedBits
public byte cRedBits()
Returns the value of thecRedBitsfield.
-
cRedShift
public byte cRedShift()
Returns the value of thecRedShiftfield.
-
cGreenBits
public byte cGreenBits()
Returns the value of thecGreenBitsfield.
-
cGreenShift
public byte cGreenShift()
Returns the value of thecGreenShiftfield.
-
cBlueBits
public byte cBlueBits()
Returns the value of thecBlueBitsfield.
-
cBlueShift
public byte cBlueShift()
Returns the value of thecBlueShiftfield.
-
cAlphaBits
public byte cAlphaBits()
Returns the value of thecAlphaBitsfield.
-
cAlphaShift
public byte cAlphaShift()
Returns the value of thecAlphaShiftfield.
-
cAccumBits
public byte cAccumBits()
Returns the value of thecAccumBitsfield.
-
cAccumRedBits
public byte cAccumRedBits()
Returns the value of thecAccumRedBitsfield.
-
cAccumGreenBits
public byte cAccumGreenBits()
Returns the value of thecAccumGreenBitsfield.
-
cAccumBlueBits
public byte cAccumBlueBits()
Returns the value of thecAccumBlueBitsfield.
-
cAccumAlphaBits
public byte cAccumAlphaBits()
Returns the value of thecAccumAlphaBitsfield.
-
cDepthBits
public byte cDepthBits()
Returns the value of thecDepthBitsfield.
-
cStencilBits
public byte cStencilBits()
Returns the value of thecStencilBitsfield.
-
cAuxBuffers
public byte cAuxBuffers()
Returns the value of thecAuxBuffersfield.
-
iLayerType
public byte iLayerType()
Returns the value of theiLayerTypefield.
-
bReserved
public byte bReserved()
Returns the value of thebReservedfield.
-
dwLayerMask
public int dwLayerMask()
Returns the value of thedwLayerMaskfield.
-
dwVisibleMask
public int dwVisibleMask()
Returns the value of thedwVisibleMaskfield.
-
dwDamageMask
public int dwDamageMask()
Returns the value of thedwDamageMaskfield.
-
nSize
public PIXELFORMATDESCRIPTOR.Buffer nSize(short value)
Sets the specified value to thenSizefield.
-
nVersion
public PIXELFORMATDESCRIPTOR.Buffer nVersion(short value)
Sets the specified value to thenVersionfield.
-
dwFlags
public PIXELFORMATDESCRIPTOR.Buffer dwFlags(int value)
Sets the specified value to thedwFlagsfield.
-
iPixelType
public PIXELFORMATDESCRIPTOR.Buffer iPixelType(byte value)
Sets the specified value to theiPixelTypefield.
-
cColorBits
public PIXELFORMATDESCRIPTOR.Buffer cColorBits(byte value)
Sets the specified value to thecColorBitsfield.
-
cRedBits
public PIXELFORMATDESCRIPTOR.Buffer cRedBits(byte value)
Sets the specified value to thecRedBitsfield.
-
cRedShift
public PIXELFORMATDESCRIPTOR.Buffer cRedShift(byte value)
Sets the specified value to thecRedShiftfield.
-
cGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cGreenBits(byte value)
Sets the specified value to thecGreenBitsfield.
-
cGreenShift
public PIXELFORMATDESCRIPTOR.Buffer cGreenShift(byte value)
Sets the specified value to thecGreenShiftfield.
-
cBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cBlueBits(byte value)
Sets the specified value to thecBlueBitsfield.
-
cBlueShift
public PIXELFORMATDESCRIPTOR.Buffer cBlueShift(byte value)
Sets the specified value to thecBlueShiftfield.
-
cAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAlphaBits(byte value)
Sets the specified value to thecAlphaBitsfield.
-
cAlphaShift
public PIXELFORMATDESCRIPTOR.Buffer cAlphaShift(byte value)
Sets the specified value to thecAlphaShiftfield.
-
cAccumBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBits(byte value)
Sets the specified value to thecAccumBitsfield.
-
cAccumRedBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumRedBits(byte value)
Sets the specified value to thecAccumRedBitsfield.
-
cAccumGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumGreenBits(byte value)
Sets the specified value to thecAccumGreenBitsfield.
-
cAccumBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBlueBits(byte value)
Sets the specified value to thecAccumBlueBitsfield.
-
cAccumAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumAlphaBits(byte value)
Sets the specified value to thecAccumAlphaBitsfield.
-
cDepthBits
public PIXELFORMATDESCRIPTOR.Buffer cDepthBits(byte value)
Sets the specified value to thecDepthBitsfield.
-
cStencilBits
public PIXELFORMATDESCRIPTOR.Buffer cStencilBits(byte value)
Sets the specified value to thecStencilBitsfield.
-
cAuxBuffers
public PIXELFORMATDESCRIPTOR.Buffer cAuxBuffers(byte value)
Sets the specified value to thecAuxBuffersfield.
-
iLayerType
public PIXELFORMATDESCRIPTOR.Buffer iLayerType(byte value)
Sets the specified value to theiLayerTypefield.
-
bReserved
public PIXELFORMATDESCRIPTOR.Buffer bReserved(byte value)
Sets the specified value to thebReservedfield.
-
dwLayerMask
public PIXELFORMATDESCRIPTOR.Buffer dwLayerMask(int value)
Sets the specified value to thedwLayerMaskfield.
-
dwVisibleMask
public PIXELFORMATDESCRIPTOR.Buffer dwVisibleMask(int value)
Sets the specified value to thedwVisibleMaskfield.
-
dwDamageMask
public PIXELFORMATDESCRIPTOR.Buffer dwDamageMask(int value)
Sets the specified value to thedwDamageMaskfield.
-
-