Package org.lwjgl.system.windows
Class PIXELFORMATDESCRIPTOR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- 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>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- PIXELFORMATDESCRIPTOR
public static class PIXELFORMATDESCRIPTOR.Buffer extends org.lwjgl.system.StructBuffer<PIXELFORMATDESCRIPTOR,PIXELFORMATDESCRIPTOR.Buffer> implements org.lwjgl.system.NativeResource
An array ofPIXELFORMATDESCRIPTOR
structs.
-
-
Method Summary
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
nSize
public short nSize()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.nSize()
field.
-
nVersion
public short nVersion()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.nVersion()
field.
-
dwFlags
public int dwFlags()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.dwFlags()
field.
-
iPixelType
public byte iPixelType()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.iPixelType()
field.
-
cColorBits
public byte cColorBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cColorBits()
field.
-
cRedBits
public byte cRedBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cRedBits()
field.
-
cRedShift
public byte cRedShift()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cRedShift()
field.
-
cGreenBits
public byte cGreenBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cGreenBits()
field.
-
cGreenShift
public byte cGreenShift()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cGreenShift()
field.
-
cBlueBits
public byte cBlueBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cBlueBits()
field.
-
cBlueShift
public byte cBlueShift()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cBlueShift()
field.
-
cAlphaBits
public byte cAlphaBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAlphaBits()
field.
-
cAlphaShift
public byte cAlphaShift()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAlphaShift()
field.
-
cAccumBits
public byte cAccumBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAccumBits()
field.
-
cAccumRedBits
public byte cAccumRedBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAccumRedBits()
field.
-
cAccumGreenBits
public byte cAccumGreenBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAccumGreenBits()
field.
-
cAccumBlueBits
public byte cAccumBlueBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAccumBlueBits()
field.
-
cAccumAlphaBits
public byte cAccumAlphaBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAccumAlphaBits()
field.
-
cDepthBits
public byte cDepthBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cDepthBits()
field.
-
cStencilBits
public byte cStencilBits()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cStencilBits()
field.
-
cAuxBuffers
public byte cAuxBuffers()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.cAuxBuffers()
field.
-
iLayerType
public byte iLayerType()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.iLayerType()
field.
-
bReserved
public byte bReserved()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.bReserved()
field.
-
dwLayerMask
public int dwLayerMask()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.dwLayerMask()
field.
-
dwVisibleMask
public int dwVisibleMask()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.dwVisibleMask()
field.
-
dwDamageMask
public int dwDamageMask()
- Returns:
- the value of the
PIXELFORMATDESCRIPTOR.dwDamageMask()
field.
-
nSize
public PIXELFORMATDESCRIPTOR.Buffer nSize(short value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.nSize()
field.
-
nVersion
public PIXELFORMATDESCRIPTOR.Buffer nVersion(short value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.nVersion()
field.
-
dwFlags
public PIXELFORMATDESCRIPTOR.Buffer dwFlags(int value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.dwFlags()
field.
-
iPixelType
public PIXELFORMATDESCRIPTOR.Buffer iPixelType(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.iPixelType()
field.
-
cColorBits
public PIXELFORMATDESCRIPTOR.Buffer cColorBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cColorBits()
field.
-
cRedBits
public PIXELFORMATDESCRIPTOR.Buffer cRedBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cRedBits()
field.
-
cRedShift
public PIXELFORMATDESCRIPTOR.Buffer cRedShift(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cRedShift()
field.
-
cGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cGreenBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cGreenBits()
field.
-
cGreenShift
public PIXELFORMATDESCRIPTOR.Buffer cGreenShift(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cGreenShift()
field.
-
cBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cBlueBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cBlueBits()
field.
-
cBlueShift
public PIXELFORMATDESCRIPTOR.Buffer cBlueShift(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cBlueShift()
field.
-
cAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAlphaBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAlphaBits()
field.
-
cAlphaShift
public PIXELFORMATDESCRIPTOR.Buffer cAlphaShift(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAlphaShift()
field.
-
cAccumBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAccumBits()
field.
-
cAccumRedBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumRedBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAccumRedBits()
field.
-
cAccumGreenBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumGreenBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAccumGreenBits()
field.
-
cAccumBlueBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumBlueBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAccumBlueBits()
field.
-
cAccumAlphaBits
public PIXELFORMATDESCRIPTOR.Buffer cAccumAlphaBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAccumAlphaBits()
field.
-
cDepthBits
public PIXELFORMATDESCRIPTOR.Buffer cDepthBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cDepthBits()
field.
-
cStencilBits
public PIXELFORMATDESCRIPTOR.Buffer cStencilBits(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cStencilBits()
field.
-
cAuxBuffers
public PIXELFORMATDESCRIPTOR.Buffer cAuxBuffers(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.cAuxBuffers()
field.
-
iLayerType
public PIXELFORMATDESCRIPTOR.Buffer iLayerType(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.iLayerType()
field.
-
bReserved
public PIXELFORMATDESCRIPTOR.Buffer bReserved(byte value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.bReserved()
field.
-
dwLayerMask
public PIXELFORMATDESCRIPTOR.Buffer dwLayerMask(int value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.dwLayerMask()
field.
-
dwVisibleMask
public PIXELFORMATDESCRIPTOR.Buffer dwVisibleMask(int value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.dwVisibleMask()
field.
-
dwDamageMask
public PIXELFORMATDESCRIPTOR.Buffer dwDamageMask(int value)
Sets the specified value to thePIXELFORMATDESCRIPTOR.dwDamageMask()
field.
-
-