Package org.lwjgl.system.windows
Class PIXELFORMATDESCRIPTOR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<PIXELFORMATDESCRIPTOR>
org.lwjgl.system.windows.PIXELFORMATDESCRIPTOR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class PIXELFORMATDESCRIPTOR
extends org.lwjgl.system.Struct<PIXELFORMATDESCRIPTOR>
implements org.lwjgl.system.NativeResource
Describes the pixel format of a drawing surface.
Layout
struct PIXELFORMATDESCRIPTOR {
WORD nSize();
WORD nVersion();
DWORD dwFlags();
BYTE iPixelType();
BYTE cColorBits();
BYTE cRedBits();
BYTE cRedShift();
BYTE cGreenBits();
BYTE cGreenShift();
BYTE cBlueBits();
BYTE cBlueShift();
BYTE cAlphaBits();
BYTE cAlphaShift();
BYTE cAccumBits();
BYTE cAccumRedBits();
BYTE cAccumGreenBits();
BYTE cAccumBlueBits();
BYTE cAccumAlphaBits();
BYTE cDepthBits();
BYTE cStencilBits();
BYTE cAuxBuffers();
BYTE iLayerType();
BYTE bReserved();
DWORD dwLayerMask();
DWORD dwVisibleMask();
DWORD dwDamageMask();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionPIXELFORMATDESCRIPTOR(ByteBuffer container) Creates aPIXELFORMATDESCRIPTORinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbytespecifies the number of overlay and underlay planes.bReserved(byte value) Sets the specified value to thebReserved()field.bytespecifies the number of alpha bitplanes in the accumulation buffercAccumAlphaBits(byte value) Sets the specified value to thecAccumAlphaBits()field.bytespecifies the total number of bitplanes in the accumulation buffercAccumBits(byte value) Sets the specified value to thecAccumBits()field.bytespecifies the number of blue bitplanes in the accumulation buffercAccumBlueBits(byte value) Sets the specified value to thecAccumBlueBits()field.bytespecifies the number of green bitplanes in the accumulation buffercAccumGreenBits(byte value) Sets the specified value to thecAccumGreenBits()field.bytespecifies the number of red bitplanes in the accumulation buffercAccumRedBits(byte value) Sets the specified value to thecAccumRedBits()field.static PIXELFORMATDESCRIPTORcalloc()Returns a newPIXELFORMATDESCRIPTORinstance allocated withmemCalloc.static PIXELFORMATDESCRIPTOR.Buffercalloc(int capacity) Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withmemCalloc.static PIXELFORMATDESCRIPTOR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static PIXELFORMATDESCRIPTORcalloc(org.lwjgl.system.MemoryStack stack) Returns a newPIXELFORMATDESCRIPTORinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static PIXELFORMATDESCRIPTORDeprecated.static PIXELFORMATDESCRIPTOR.BuffercallocStack(int capacity) Deprecated.static PIXELFORMATDESCRIPTOR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static PIXELFORMATDESCRIPTORcallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.bytespecifies the number of alpha bitplanes in each RGBA color buffer.cAlphaBits(byte value) Sets the specified value to thecAlphaBits()field.bytespecifies the shift count for alpha bitplanes in each RGBA color buffer.cAlphaShift(byte value) Sets the specified value to thecAlphaShift()field.bytespecifies the number of auxiliary buffers.cAuxBuffers(byte value) Sets the specified value to thecAuxBuffers()field.bytespecifies the number of blue bitplanes in each RGBA color buffercBlueBits(byte value) Sets the specified value to thecBlueBits()field.bytespecifies the shift count for blue bitplanes in each RGBA color buffercBlueShift(byte value) Sets the specified value to thecBlueShift()field.bytespecifies the number of color bitplanes in each color buffer.cColorBits(byte value) Sets the specified value to thecColorBits()field.bytespecifies the depth of the depth (z-axis) buffercDepthBits(byte value) Sets the specified value to thecDepthBits()field.bytespecifies the number of green bitplanes in each RGBA color buffercGreenBits(byte value) Sets the specified value to thecGreenBits()field.bytespecifies the shift count for green bitplanes in each RGBA color buffercGreenShift(byte value) Sets the specified value to thecGreenShift()field.static PIXELFORMATDESCRIPTORcreate()Returns a newPIXELFORMATDESCRIPTORinstance allocated withBufferUtils.static PIXELFORMATDESCRIPTOR.Buffercreate(int capacity) Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withBufferUtils.static PIXELFORMATDESCRIPTORcreate(long address) Returns a newPIXELFORMATDESCRIPTORinstance for the specified memory address.static PIXELFORMATDESCRIPTOR.Buffercreate(long address, int capacity) Create aPIXELFORMATDESCRIPTOR.Bufferinstance at the specified memory.static @Nullable PIXELFORMATDESCRIPTORcreateSafe(long address) static @Nullable PIXELFORMATDESCRIPTOR.BuffercreateSafe(long address, int capacity) bytecRedBits()specifies the number of red bitplanes in each RGBA color buffercRedBits(byte value) Sets the specified value to thecRedBits()field.bytespecifies the shift count for red bitplanes in each RGBA color buffercRedShift(byte value) Sets the specified value to thecRedShift()field.bytespecifies the depth of the stencil buffercStencilBits(byte value) Sets the specified value to thecStencilBits()field.intIgnored.dwDamageMask(int value) Sets the specified value to thedwDamageMask()field.intdwFlags()a set of bit flags that specify properties of the pixel bufferdwFlags(int value) Sets the specified value to thedwFlags()field.intIgnored.dwLayerMask(int value) Sets the specified value to thedwLayerMask()field.intspecifies the transparent color or index of an underlay plane.dwVisibleMask(int value) Sets the specified value to thedwVisibleMask()field.byteIgnored.iLayerType(byte value) Sets the specified value to theiLayerType()field.bytespecifies the type of pixel dataiPixelType(byte value) Sets the specified value to theiPixelType()field.static PIXELFORMATDESCRIPTORmalloc()Returns a newPIXELFORMATDESCRIPTORinstance allocated withmemAlloc.static PIXELFORMATDESCRIPTOR.Buffermalloc(int capacity) Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withmemAlloc.static PIXELFORMATDESCRIPTOR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated on the specifiedMemoryStack.static PIXELFORMATDESCRIPTORmalloc(org.lwjgl.system.MemoryStack stack) Returns a newPIXELFORMATDESCRIPTORinstance allocated on the specifiedMemoryStack.static PIXELFORMATDESCRIPTORDeprecated.static PIXELFORMATDESCRIPTOR.BuffermallocStack(int capacity) Deprecated.static PIXELFORMATDESCRIPTOR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static PIXELFORMATDESCRIPTORmallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static bytenbReserved(long struct) Unsafe version ofbReserved().static voidnbReserved(long struct, byte value) Unsafe version ofbReserved.static bytencAccumAlphaBits(long struct) Unsafe version ofcAccumAlphaBits().static voidncAccumAlphaBits(long struct, byte value) Unsafe version ofcAccumAlphaBits.static bytencAccumBits(long struct) Unsafe version ofcAccumBits().static voidncAccumBits(long struct, byte value) Unsafe version ofcAccumBits.static bytencAccumBlueBits(long struct) Unsafe version ofcAccumBlueBits().static voidncAccumBlueBits(long struct, byte value) Unsafe version ofcAccumBlueBits.static bytencAccumGreenBits(long struct) Unsafe version ofcAccumGreenBits().static voidncAccumGreenBits(long struct, byte value) Unsafe version ofcAccumGreenBits.static bytencAccumRedBits(long struct) Unsafe version ofcAccumRedBits().static voidncAccumRedBits(long struct, byte value) Unsafe version ofcAccumRedBits.static bytencAlphaBits(long struct) Unsafe version ofcAlphaBits().static voidncAlphaBits(long struct, byte value) Unsafe version ofcAlphaBits.static bytencAlphaShift(long struct) Unsafe version ofcAlphaShift().static voidncAlphaShift(long struct, byte value) Unsafe version ofcAlphaShift.static bytencAuxBuffers(long struct) Unsafe version ofcAuxBuffers().static voidncAuxBuffers(long struct, byte value) Unsafe version ofcAuxBuffers.static bytencBlueBits(long struct) Unsafe version ofcBlueBits().static voidncBlueBits(long struct, byte value) Unsafe version ofcBlueBits.static bytencBlueShift(long struct) Unsafe version ofcBlueShift().static voidncBlueShift(long struct, byte value) Unsafe version ofcBlueShift.static bytencColorBits(long struct) Unsafe version ofcColorBits().static voidncColorBits(long struct, byte value) Unsafe version ofcColorBits.static bytencDepthBits(long struct) Unsafe version ofcDepthBits().static voidncDepthBits(long struct, byte value) Unsafe version ofcDepthBits.static bytencGreenBits(long struct) Unsafe version ofcGreenBits().static voidncGreenBits(long struct, byte value) Unsafe version ofcGreenBits.static bytencGreenShift(long struct) Unsafe version ofcGreenShift().static voidncGreenShift(long struct, byte value) Unsafe version ofcGreenShift.static bytencRedBits(long struct) Unsafe version ofcRedBits().static voidncRedBits(long struct, byte value) Unsafe version ofcRedBits.static bytencRedShift(long struct) Unsafe version ofcRedShift().static voidncRedShift(long struct, byte value) Unsafe version ofcRedShift.static bytencStencilBits(long struct) Unsafe version ofcStencilBits().static voidncStencilBits(long struct, byte value) Unsafe version ofcStencilBits.static intndwDamageMask(long struct) Unsafe version ofdwDamageMask().static voidndwDamageMask(long struct, int value) Unsafe version ofdwDamageMask.static intndwFlags(long struct) Unsafe version ofdwFlags().static voidndwFlags(long struct, int value) Unsafe version ofdwFlags.static intndwLayerMask(long struct) Unsafe version ofdwLayerMask().static voidndwLayerMask(long struct, int value) Unsafe version ofdwLayerMask.static intndwVisibleMask(long struct) Unsafe version ofdwVisibleMask().static voidndwVisibleMask(long struct, int value) Unsafe version ofdwVisibleMask.static byteniLayerType(long struct) Unsafe version ofiLayerType().static voidniLayerType(long struct, byte value) Unsafe version ofiLayerType.static byteniPixelType(long struct) Unsafe version ofiPixelType().static voidniPixelType(long struct, byte value) Unsafe version ofiPixelType.static shortnnSize(long struct) Unsafe version ofnSize().static voidnnSize(long struct, short value) Unsafe version ofnSize.static shortnnVersion(long struct) Unsafe version ofnVersion().static voidnnVersion(long struct, short value) Unsafe version ofnVersion.shortnSize()specifies the size of this data structure.nSize(short value) Sets the specified value to thenSize()field.shortnVersion()specifies the version of this data structure.nVersion(short value) Sets the specified value to thenVersion()field.set(short nSize, short nVersion, int dwFlags, byte iPixelType, byte cColorBits, byte cRedBits, byte cRedShift, byte cGreenBits, byte cGreenShift, byte cBlueBits, byte cBlueShift, byte cAlphaBits, byte cAlphaShift, byte cAccumBits, byte cAccumRedBits, byte cAccumGreenBits, byte cAccumBlueBits, byte cAccumAlphaBits, byte cDepthBits, byte cStencilBits, byte cAuxBuffers, byte iLayerType, byte bReserved, int dwLayerMask, int dwVisibleMask, int dwDamageMask) Initializes this struct with the specified values.set(PIXELFORMATDESCRIPTOR src) Copies the specified struct data to this struct.intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
NSIZE
public static final int NSIZEThe struct member offsets. -
NVERSION
public static final int NVERSIONThe struct member offsets. -
DWFLAGS
public static final int DWFLAGSThe struct member offsets. -
IPIXELTYPE
public static final int IPIXELTYPEThe struct member offsets. -
CCOLORBITS
public static final int CCOLORBITSThe struct member offsets. -
CREDBITS
public static final int CREDBITSThe struct member offsets. -
CREDSHIFT
public static final int CREDSHIFTThe struct member offsets. -
CGREENBITS
public static final int CGREENBITSThe struct member offsets. -
CGREENSHIFT
public static final int CGREENSHIFTThe struct member offsets. -
CBLUEBITS
public static final int CBLUEBITSThe struct member offsets. -
CBLUESHIFT
public static final int CBLUESHIFTThe struct member offsets. -
CALPHABITS
public static final int CALPHABITSThe struct member offsets. -
CALPHASHIFT
public static final int CALPHASHIFTThe struct member offsets. -
CACCUMBITS
public static final int CACCUMBITSThe struct member offsets. -
CACCUMREDBITS
public static final int CACCUMREDBITSThe struct member offsets. -
CACCUMGREENBITS
public static final int CACCUMGREENBITSThe struct member offsets. -
CACCUMBLUEBITS
public static final int CACCUMBLUEBITSThe struct member offsets. -
CACCUMALPHABITS
public static final int CACCUMALPHABITSThe struct member offsets. -
CDEPTHBITS
public static final int CDEPTHBITSThe struct member offsets. -
CSTENCILBITS
public static final int CSTENCILBITSThe struct member offsets. -
CAUXBUFFERS
public static final int CAUXBUFFERSThe struct member offsets. -
ILAYERTYPE
public static final int ILAYERTYPEThe struct member offsets. -
BRESERVED
public static final int BRESERVEDThe struct member offsets. -
DWLAYERMASK
public static final int DWLAYERMASKThe struct member offsets. -
DWVISIBLEMASK
public static final int DWVISIBLEMASKThe struct member offsets. -
DWDAMAGEMASK
public static final int DWDAMAGEMASKThe struct member offsets.
-
-
Constructor Details
-
PIXELFORMATDESCRIPTOR
Creates aPIXELFORMATDESCRIPTORinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<PIXELFORMATDESCRIPTOR>
-
nSize
public short nSize()specifies the size of this data structure. This value should be set toSIZEOF. -
nVersion
public short nVersion()specifies the version of this data structure. This value should be set to 1 -
dwFlags
public int dwFlags()a set of bit flags that specify properties of the pixel buffer -
iPixelType
public byte iPixelType()specifies the type of pixel data -
cColorBits
public byte cColorBits()specifies the number of color bitplanes in each color buffer. For RGBA pixel types, it is the size of the color buffer, excluding the alpha bitplanes. For color-index pixels, it is the size of the color-index buffer. -
cRedBits
public byte cRedBits()specifies the number of red bitplanes in each RGBA color buffer -
cRedShift
public byte cRedShift()specifies the shift count for red bitplanes in each RGBA color buffer -
cGreenBits
public byte cGreenBits()specifies the number of green bitplanes in each RGBA color buffer -
cGreenShift
public byte cGreenShift()specifies the shift count for green bitplanes in each RGBA color buffer -
cBlueBits
public byte cBlueBits()specifies the number of blue bitplanes in each RGBA color buffer -
cBlueShift
public byte cBlueShift()specifies the shift count for blue bitplanes in each RGBA color buffer -
cAlphaBits
public byte cAlphaBits()specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported -
cAlphaShift
public byte cAlphaShift()specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supported -
cAccumBits
public byte cAccumBits()specifies the total number of bitplanes in the accumulation buffer -
cAccumRedBits
public byte cAccumRedBits()specifies the number of red bitplanes in the accumulation buffer -
cAccumGreenBits
public byte cAccumGreenBits()specifies the number of green bitplanes in the accumulation buffer -
cAccumBlueBits
public byte cAccumBlueBits()specifies the number of blue bitplanes in the accumulation buffer -
cAccumAlphaBits
public byte cAccumAlphaBits()specifies the number of alpha bitplanes in the accumulation buffer -
cDepthBits
public byte cDepthBits()specifies the depth of the depth (z-axis) buffer -
cStencilBits
public byte cStencilBits()specifies the depth of the stencil buffer -
cAuxBuffers
public byte cAuxBuffers()specifies the number of auxiliary buffers. Auxiliary buffers are not supported -
iLayerType
public byte iLayerType()Ignored. Earlier implementations of OpenGL used this member, but it is no longer used. -
bReserved
public byte bReserved()specifies the number of overlay and underlay planes. Bits 0 through 3 specify up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes -
dwLayerMask
public int dwLayerMask()Ignored. Earlier implementations of OpenGL used this member, but it is no longer used. -
dwVisibleMask
public int dwVisibleMask()specifies the transparent color or index of an underlay plane. When the pixel type is RGBA,dwVisibleMaskis a transparent RGB color value. When the pixel type is color index, it is a transparent index value. -
dwDamageMask
public int dwDamageMask()Ignored. Earlier implementations of OpenGL used this member, but it is no longer used. -
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. -
set
public PIXELFORMATDESCRIPTOR set(short nSize, short nVersion, int dwFlags, byte iPixelType, byte cColorBits, byte cRedBits, byte cRedShift, byte cGreenBits, byte cGreenShift, byte cBlueBits, byte cBlueShift, byte cAlphaBits, byte cAlphaShift, byte cAccumBits, byte cAccumRedBits, byte cAccumGreenBits, byte cAccumBlueBits, byte cAccumAlphaBits, byte cDepthBits, byte cStencilBits, byte cAuxBuffers, byte iLayerType, byte bReserved, int dwLayerMask, int dwVisibleMask, int dwDamageMask) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newPIXELFORMATDESCRIPTORinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newPIXELFORMATDESCRIPTORinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newPIXELFORMATDESCRIPTORinstance allocated withBufferUtils. -
create
Returns a newPIXELFORMATDESCRIPTORinstance for the specified memory address. -
createSafe
-
malloc
Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aPIXELFORMATDESCRIPTOR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static PIXELFORMATDESCRIPTOR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static PIXELFORMATDESCRIPTOR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newPIXELFORMATDESCRIPTORinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newPIXELFORMATDESCRIPTORinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newPIXELFORMATDESCRIPTOR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nnSize
public static short nnSize(long struct) Unsafe version ofnSize(). -
nnVersion
public static short nnVersion(long struct) Unsafe version ofnVersion(). -
ndwFlags
public static int ndwFlags(long struct) Unsafe version ofdwFlags(). -
niPixelType
public static byte niPixelType(long struct) Unsafe version ofiPixelType(). -
ncColorBits
public static byte ncColorBits(long struct) Unsafe version ofcColorBits(). -
ncRedBits
public static byte ncRedBits(long struct) Unsafe version ofcRedBits(). -
ncRedShift
public static byte ncRedShift(long struct) Unsafe version ofcRedShift(). -
ncGreenBits
public static byte ncGreenBits(long struct) Unsafe version ofcGreenBits(). -
ncGreenShift
public static byte ncGreenShift(long struct) Unsafe version ofcGreenShift(). -
ncBlueBits
public static byte ncBlueBits(long struct) Unsafe version ofcBlueBits(). -
ncBlueShift
public static byte ncBlueShift(long struct) Unsafe version ofcBlueShift(). -
ncAlphaBits
public static byte ncAlphaBits(long struct) Unsafe version ofcAlphaBits(). -
ncAlphaShift
public static byte ncAlphaShift(long struct) Unsafe version ofcAlphaShift(). -
ncAccumBits
public static byte ncAccumBits(long struct) Unsafe version ofcAccumBits(). -
ncAccumRedBits
public static byte ncAccumRedBits(long struct) Unsafe version ofcAccumRedBits(). -
ncAccumGreenBits
public static byte ncAccumGreenBits(long struct) Unsafe version ofcAccumGreenBits(). -
ncAccumBlueBits
public static byte ncAccumBlueBits(long struct) Unsafe version ofcAccumBlueBits(). -
ncAccumAlphaBits
public static byte ncAccumAlphaBits(long struct) Unsafe version ofcAccumAlphaBits(). -
ncDepthBits
public static byte ncDepthBits(long struct) Unsafe version ofcDepthBits(). -
ncStencilBits
public static byte ncStencilBits(long struct) Unsafe version ofcStencilBits(). -
ncAuxBuffers
public static byte ncAuxBuffers(long struct) Unsafe version ofcAuxBuffers(). -
niLayerType
public static byte niLayerType(long struct) Unsafe version ofiLayerType(). -
nbReserved
public static byte nbReserved(long struct) Unsafe version ofbReserved(). -
ndwLayerMask
public static int ndwLayerMask(long struct) Unsafe version ofdwLayerMask(). -
ndwVisibleMask
public static int ndwVisibleMask(long struct) Unsafe version ofdwVisibleMask(). -
ndwDamageMask
public static int ndwDamageMask(long struct) Unsafe version ofdwDamageMask(). -
nnSize
public static void nnSize(long struct, short value) Unsafe version ofnSize. -
nnVersion
public static void nnVersion(long struct, short value) Unsafe version ofnVersion. -
ndwFlags
public static void ndwFlags(long struct, int value) Unsafe version ofdwFlags. -
niPixelType
public static void niPixelType(long struct, byte value) Unsafe version ofiPixelType. -
ncColorBits
public static void ncColorBits(long struct, byte value) Unsafe version ofcColorBits. -
ncRedBits
public static void ncRedBits(long struct, byte value) Unsafe version ofcRedBits. -
ncRedShift
public static void ncRedShift(long struct, byte value) Unsafe version ofcRedShift. -
ncGreenBits
public static void ncGreenBits(long struct, byte value) Unsafe version ofcGreenBits. -
ncGreenShift
public static void ncGreenShift(long struct, byte value) Unsafe version ofcGreenShift. -
ncBlueBits
public static void ncBlueBits(long struct, byte value) Unsafe version ofcBlueBits. -
ncBlueShift
public static void ncBlueShift(long struct, byte value) Unsafe version ofcBlueShift. -
ncAlphaBits
public static void ncAlphaBits(long struct, byte value) Unsafe version ofcAlphaBits. -
ncAlphaShift
public static void ncAlphaShift(long struct, byte value) Unsafe version ofcAlphaShift. -
ncAccumBits
public static void ncAccumBits(long struct, byte value) Unsafe version ofcAccumBits. -
ncAccumRedBits
public static void ncAccumRedBits(long struct, byte value) Unsafe version ofcAccumRedBits. -
ncAccumGreenBits
public static void ncAccumGreenBits(long struct, byte value) Unsafe version ofcAccumGreenBits. -
ncAccumBlueBits
public static void ncAccumBlueBits(long struct, byte value) Unsafe version ofcAccumBlueBits. -
ncAccumAlphaBits
public static void ncAccumAlphaBits(long struct, byte value) Unsafe version ofcAccumAlphaBits. -
ncDepthBits
public static void ncDepthBits(long struct, byte value) Unsafe version ofcDepthBits. -
ncStencilBits
public static void ncStencilBits(long struct, byte value) Unsafe version ofcStencilBits. -
ncAuxBuffers
public static void ncAuxBuffers(long struct, byte value) Unsafe version ofcAuxBuffers. -
niLayerType
public static void niLayerType(long struct, byte value) Unsafe version ofiLayerType. -
nbReserved
public static void nbReserved(long struct, byte value) Unsafe version ofbReserved. -
ndwLayerMask
public static void ndwLayerMask(long struct, int value) Unsafe version ofdwLayerMask. -
ndwVisibleMask
public static void ndwVisibleMask(long struct, int value) Unsafe version ofdwVisibleMask. -
ndwDamageMask
public static void ndwDamageMask(long struct, int value) Unsafe version ofdwDamageMask.
-