public class PIXELFORMATDESCRIPTOR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
nSize – specifies the size of this data structure. This value should be set to SIZEOF.nVersion – specifies the version of this data structure. This value should be set to 1dwFlags – a set of bit flags that specify properties of the pixel bufferiPixelType – specifies the type of pixel datacColorBits –
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 – specifies the number of red bitplanes in each RGBA color buffercRedShift – specifies the shift count for red bitplanes in each RGBA color buffercGreenBits – specifies the number of green bitplanes in each RGBA color buffercGreenShift – specifies the shift count for green bitplanes in each RGBA color buffercBlueBits – specifies the number of blue bitplanes in each RGBA color buffercBlueShift – specifies the shift count for blue bitplanes in each RGBA color buffercAlphaBits – specifies the number of alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supportedcAlphaShift – specifies the shift count for alpha bitplanes in each RGBA color buffer. Alpha bitplanes are not supportedcAccumBits – specifies the total number of bitplanes in the accumulation buffercAccumRedBits – specifies the number of red bitplanes in the accumulation buffercAccumGreenBits – specifies the number of green bitplanes in the accumulation buffercAccumBlueBits – specifies the number of blue bitplanes in the accumulation buffercAccumAlphaBits – specifies the number of alpha bitplanes in the accumulation buffercDepthBits – specifies the depth of the depth (z-axis) buffercStencilBits – specifies the depth of the stencil buffercAuxBuffers – specifies the number of auxiliary buffers. Auxiliary buffers are not supportediLayerType – Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.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
planesdwLayerMask – Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.dwVisibleMask –
specifies the transparent color or index of an underlay plane. When the pixel type is RGBA, dwVisibleMask is a transparent RGB color value.
When the pixel type is color index, it is a transparent index value.dwDamageMask – Ignored. Earlier implementations of OpenGL used this member, but it is no longer used.
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;
}| Modifier and Type | Class and Description |
|---|---|
static class |
PIXELFORMATDESCRIPTOR.Buffer
An array of
PIXELFORMATDESCRIPTOR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BRESERVED
The struct member offsets.
|
static int |
CACCUMALPHABITS
The struct member offsets.
|
static int |
CACCUMBITS
The struct member offsets.
|
static int |
CACCUMBLUEBITS
The struct member offsets.
|
static int |
CACCUMGREENBITS
The struct member offsets.
|
static int |
CACCUMREDBITS
The struct member offsets.
|
static int |
CALPHABITS
The struct member offsets.
|
static int |
CALPHASHIFT
The struct member offsets.
|
static int |
CAUXBUFFERS
The struct member offsets.
|
static int |
CBLUEBITS
The struct member offsets.
|
static int |
CBLUESHIFT
The struct member offsets.
|
static int |
CCOLORBITS
The struct member offsets.
|
static int |
CDEPTHBITS
The struct member offsets.
|
static int |
CGREENBITS
The struct member offsets.
|
static int |
CGREENSHIFT
The struct member offsets.
|
static int |
CREDBITS
The struct member offsets.
|
static int |
CREDSHIFT
The struct member offsets.
|
static int |
CSTENCILBITS
The struct member offsets.
|
static int |
DWDAMAGEMASK
The struct member offsets.
|
static int |
DWFLAGS
The struct member offsets.
|
static int |
DWLAYERMASK
The struct member offsets.
|
static int |
DWVISIBLEMASK
The struct member offsets.
|
static int |
ILAYERTYPE
The struct member offsets.
|
static int |
IPIXELTYPE
The struct member offsets.
|
static int |
NSIZE
The struct member offsets.
|
static int |
NVERSION
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
PIXELFORMATDESCRIPTOR(java.nio.ByteBuffer container)
Creates a
PIXELFORMATDESCRIPTOR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
byte |
bReserved()
Returns the value of the
bReserved field. |
PIXELFORMATDESCRIPTOR |
bReserved(byte value)
Sets the specified value to the
bReserved field. |
byte |
cAccumAlphaBits()
Returns the value of the
cAccumAlphaBits field. |
PIXELFORMATDESCRIPTOR |
cAccumAlphaBits(byte value)
Sets the specified value to the
cAccumAlphaBits field. |
byte |
cAccumBits()
Returns the value of the
cAccumBits field. |
PIXELFORMATDESCRIPTOR |
cAccumBits(byte value)
Sets the specified value to the
cAccumBits field. |
byte |
cAccumBlueBits()
Returns the value of the
cAccumBlueBits field. |
PIXELFORMATDESCRIPTOR |
cAccumBlueBits(byte value)
Sets the specified value to the
cAccumBlueBits field. |
byte |
cAccumGreenBits()
Returns the value of the
cAccumGreenBits field. |
PIXELFORMATDESCRIPTOR |
cAccumGreenBits(byte value)
Sets the specified value to the
cAccumGreenBits field. |
byte |
cAccumRedBits()
Returns the value of the
cAccumRedBits field. |
PIXELFORMATDESCRIPTOR |
cAccumRedBits(byte value)
Sets the specified value to the
cAccumRedBits field. |
static PIXELFORMATDESCRIPTOR |
calloc()
Returns a new
PIXELFORMATDESCRIPTOR instance allocated with memCalloc. |
static PIXELFORMATDESCRIPTOR.Buffer |
calloc(int capacity)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated with memCalloc. |
static PIXELFORMATDESCRIPTOR |
callocStack()
Returns a new
PIXELFORMATDESCRIPTOR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static PIXELFORMATDESCRIPTOR.Buffer |
callocStack(int capacity)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static PIXELFORMATDESCRIPTOR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static PIXELFORMATDESCRIPTOR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
PIXELFORMATDESCRIPTOR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
byte |
cAlphaBits()
Returns the value of the
cAlphaBits field. |
PIXELFORMATDESCRIPTOR |
cAlphaBits(byte value)
Sets the specified value to the
cAlphaBits field. |
byte |
cAlphaShift()
Returns the value of the
cAlphaShift field. |
PIXELFORMATDESCRIPTOR |
cAlphaShift(byte value)
Sets the specified value to the
cAlphaShift field. |
byte |
cAuxBuffers()
Returns the value of the
cAuxBuffers field. |
PIXELFORMATDESCRIPTOR |
cAuxBuffers(byte value)
Sets the specified value to the
cAuxBuffers field. |
byte |
cBlueBits()
Returns the value of the
cBlueBits field. |
PIXELFORMATDESCRIPTOR |
cBlueBits(byte value)
Sets the specified value to the
cBlueBits field. |
byte |
cBlueShift()
Returns the value of the
cBlueShift field. |
PIXELFORMATDESCRIPTOR |
cBlueShift(byte value)
Sets the specified value to the
cBlueShift field. |
byte |
cColorBits()
Returns the value of the
cColorBits field. |
PIXELFORMATDESCRIPTOR |
cColorBits(byte value)
Sets the specified value to the
cColorBits field. |
byte |
cDepthBits()
Returns the value of the
cDepthBits field. |
PIXELFORMATDESCRIPTOR |
cDepthBits(byte value)
Sets the specified value to the
cDepthBits field. |
byte |
cGreenBits()
Returns the value of the
cGreenBits field. |
PIXELFORMATDESCRIPTOR |
cGreenBits(byte value)
Sets the specified value to the
cGreenBits field. |
byte |
cGreenShift()
Returns the value of the
cGreenShift field. |
PIXELFORMATDESCRIPTOR |
cGreenShift(byte value)
Sets the specified value to the
cGreenShift field. |
static PIXELFORMATDESCRIPTOR |
create()
Returns a new
PIXELFORMATDESCRIPTOR instance allocated with BufferUtils. |
static PIXELFORMATDESCRIPTOR.Buffer |
create(int capacity)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated with BufferUtils. |
static PIXELFORMATDESCRIPTOR |
create(long address)
Returns a new
PIXELFORMATDESCRIPTOR instance for the specified memory address. |
static PIXELFORMATDESCRIPTOR.Buffer |
create(long address,
int capacity)
Create a
PIXELFORMATDESCRIPTOR.Buffer instance at the specified memory. |
static PIXELFORMATDESCRIPTOR |
createSafe(long address)
|
static PIXELFORMATDESCRIPTOR.Buffer |
createSafe(long address,
int capacity)
|
byte |
cRedBits()
Returns the value of the
cRedBits field. |
PIXELFORMATDESCRIPTOR |
cRedBits(byte value)
Sets the specified value to the
cRedBits field. |
byte |
cRedShift()
Returns the value of the
cRedShift field. |
PIXELFORMATDESCRIPTOR |
cRedShift(byte value)
Sets the specified value to the
cRedShift field. |
byte |
cStencilBits()
Returns the value of the
cStencilBits field. |
PIXELFORMATDESCRIPTOR |
cStencilBits(byte value)
Sets the specified value to the
cStencilBits field. |
int |
dwDamageMask()
Returns the value of the
dwDamageMask field. |
PIXELFORMATDESCRIPTOR |
dwDamageMask(int value)
Sets the specified value to the
dwDamageMask field. |
int |
dwFlags()
Returns the value of the
dwFlags field. |
PIXELFORMATDESCRIPTOR |
dwFlags(int value)
Sets the specified value to the
dwFlags field. |
int |
dwLayerMask()
Returns the value of the
dwLayerMask field. |
PIXELFORMATDESCRIPTOR |
dwLayerMask(int value)
Sets the specified value to the
dwLayerMask field. |
int |
dwVisibleMask()
Returns the value of the
dwVisibleMask field. |
PIXELFORMATDESCRIPTOR |
dwVisibleMask(int value)
Sets the specified value to the
dwVisibleMask field. |
byte |
iLayerType()
Returns the value of the
iLayerType field. |
PIXELFORMATDESCRIPTOR |
iLayerType(byte value)
Sets the specified value to the
iLayerType field. |
byte |
iPixelType()
Returns the value of the
iPixelType field. |
PIXELFORMATDESCRIPTOR |
iPixelType(byte value)
Sets the specified value to the
iPixelType field. |
static PIXELFORMATDESCRIPTOR |
malloc()
Returns a new
PIXELFORMATDESCRIPTOR instance allocated with memAlloc. |
static PIXELFORMATDESCRIPTOR.Buffer |
malloc(int capacity)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated with memAlloc. |
static PIXELFORMATDESCRIPTOR |
mallocStack()
Returns a new
PIXELFORMATDESCRIPTOR instance allocated on the thread-local MemoryStack. |
static PIXELFORMATDESCRIPTOR.Buffer |
mallocStack(int capacity)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the thread-local MemoryStack. |
static PIXELFORMATDESCRIPTOR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the specified MemoryStack. |
static PIXELFORMATDESCRIPTOR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
PIXELFORMATDESCRIPTOR instance allocated on the specified MemoryStack. |
static byte |
nbReserved(long struct)
Unsafe version of
bReserved(). |
static void |
nbReserved(long struct,
byte value)
Unsafe version of
bReserved. |
static byte |
ncAccumAlphaBits(long struct)
Unsafe version of
cAccumAlphaBits(). |
static void |
ncAccumAlphaBits(long struct,
byte value)
Unsafe version of
cAccumAlphaBits. |
static byte |
ncAccumBits(long struct)
Unsafe version of
cAccumBits(). |
static void |
ncAccumBits(long struct,
byte value)
Unsafe version of
cAccumBits. |
static byte |
ncAccumBlueBits(long struct)
Unsafe version of
cAccumBlueBits(). |
static void |
ncAccumBlueBits(long struct,
byte value)
Unsafe version of
cAccumBlueBits. |
static byte |
ncAccumGreenBits(long struct)
Unsafe version of
cAccumGreenBits(). |
static void |
ncAccumGreenBits(long struct,
byte value)
Unsafe version of
cAccumGreenBits. |
static byte |
ncAccumRedBits(long struct)
Unsafe version of
cAccumRedBits(). |
static void |
ncAccumRedBits(long struct,
byte value)
Unsafe version of
cAccumRedBits. |
static byte |
ncAlphaBits(long struct)
Unsafe version of
cAlphaBits(). |
static void |
ncAlphaBits(long struct,
byte value)
Unsafe version of
cAlphaBits. |
static byte |
ncAlphaShift(long struct)
Unsafe version of
cAlphaShift(). |
static void |
ncAlphaShift(long struct,
byte value)
Unsafe version of
cAlphaShift. |
static byte |
ncAuxBuffers(long struct)
Unsafe version of
cAuxBuffers(). |
static void |
ncAuxBuffers(long struct,
byte value)
Unsafe version of
cAuxBuffers. |
static byte |
ncBlueBits(long struct)
Unsafe version of
cBlueBits(). |
static void |
ncBlueBits(long struct,
byte value)
Unsafe version of
cBlueBits. |
static byte |
ncBlueShift(long struct)
Unsafe version of
cBlueShift(). |
static void |
ncBlueShift(long struct,
byte value)
Unsafe version of
cBlueShift. |
static byte |
ncColorBits(long struct)
Unsafe version of
cColorBits(). |
static void |
ncColorBits(long struct,
byte value)
Unsafe version of
cColorBits. |
static byte |
ncDepthBits(long struct)
Unsafe version of
cDepthBits(). |
static void |
ncDepthBits(long struct,
byte value)
Unsafe version of
cDepthBits. |
static byte |
ncGreenBits(long struct)
Unsafe version of
cGreenBits(). |
static void |
ncGreenBits(long struct,
byte value)
Unsafe version of
cGreenBits. |
static byte |
ncGreenShift(long struct)
Unsafe version of
cGreenShift(). |
static void |
ncGreenShift(long struct,
byte value)
Unsafe version of
cGreenShift. |
static byte |
ncRedBits(long struct)
Unsafe version of
cRedBits(). |
static void |
ncRedBits(long struct,
byte value)
Unsafe version of
cRedBits. |
static byte |
ncRedShift(long struct)
Unsafe version of
cRedShift(). |
static void |
ncRedShift(long struct,
byte value)
Unsafe version of
cRedShift. |
static byte |
ncStencilBits(long struct)
Unsafe version of
cStencilBits(). |
static void |
ncStencilBits(long struct,
byte value)
Unsafe version of
cStencilBits. |
static int |
ndwDamageMask(long struct)
Unsafe version of
dwDamageMask(). |
static void |
ndwDamageMask(long struct,
int value)
Unsafe version of
dwDamageMask. |
static int |
ndwFlags(long struct)
Unsafe version of
dwFlags(). |
static void |
ndwFlags(long struct,
int value)
Unsafe version of
dwFlags. |
static int |
ndwLayerMask(long struct)
Unsafe version of
dwLayerMask(). |
static void |
ndwLayerMask(long struct,
int value)
Unsafe version of
dwLayerMask. |
static int |
ndwVisibleMask(long struct)
Unsafe version of
dwVisibleMask(). |
static void |
ndwVisibleMask(long struct,
int value)
Unsafe version of
dwVisibleMask. |
static byte |
niLayerType(long struct)
Unsafe version of
iLayerType(). |
static void |
niLayerType(long struct,
byte value)
Unsafe version of
iLayerType. |
static byte |
niPixelType(long struct)
Unsafe version of
iPixelType(). |
static void |
niPixelType(long struct,
byte value)
Unsafe version of
iPixelType. |
static short |
nnSize(long struct)
Unsafe version of
nSize(). |
static void |
nnSize(long struct,
short value)
Unsafe version of
nSize. |
static short |
nnVersion(long struct)
Unsafe version of
nVersion(). |
static void |
nnVersion(long struct,
short value)
Unsafe version of
nVersion. |
short |
nSize()
Returns the value of the
nSize field. |
PIXELFORMATDESCRIPTOR |
nSize(short value)
Sets the specified value to the
nSize field. |
short |
nVersion()
Returns the value of the
nVersion field. |
PIXELFORMATDESCRIPTOR |
nVersion(short value)
Sets the specified value to the
nVersion field. |
PIXELFORMATDESCRIPTOR |
set(PIXELFORMATDESCRIPTOR src)
Copies the specified struct data to this struct.
|
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.
|
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int NSIZE
public static final int NVERSION
public static final int DWFLAGS
public static final int IPIXELTYPE
public static final int CCOLORBITS
public static final int CREDBITS
public static final int CREDSHIFT
public static final int CGREENBITS
public static final int CGREENSHIFT
public static final int CBLUEBITS
public static final int CBLUESHIFT
public static final int CALPHABITS
public static final int CALPHASHIFT
public static final int CACCUMBITS
public static final int CACCUMREDBITS
public static final int CACCUMGREENBITS
public static final int CACCUMBLUEBITS
public static final int CACCUMALPHABITS
public static final int CDEPTHBITS
public static final int CSTENCILBITS
public static final int CAUXBUFFERS
public static final int ILAYERTYPE
public static final int BRESERVED
public static final int DWLAYERMASK
public static final int DWVISIBLEMASK
public static final int DWDAMAGEMASK
public PIXELFORMATDESCRIPTOR(java.nio.ByteBuffer container)
PIXELFORMATDESCRIPTOR instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic short nSize()
nSize field.public short nVersion()
nVersion field.public int dwFlags()
dwFlags field.public byte iPixelType()
iPixelType field.public byte cColorBits()
cColorBits field.public byte cRedBits()
cRedBits field.public byte cRedShift()
cRedShift field.public byte cGreenBits()
cGreenBits field.public byte cGreenShift()
cGreenShift field.public byte cBlueBits()
cBlueBits field.public byte cBlueShift()
cBlueShift field.public byte cAlphaBits()
cAlphaBits field.public byte cAlphaShift()
cAlphaShift field.public byte cAccumBits()
cAccumBits field.public byte cAccumRedBits()
cAccumRedBits field.public byte cAccumGreenBits()
cAccumGreenBits field.public byte cAccumBlueBits()
cAccumBlueBits field.public byte cAccumAlphaBits()
cAccumAlphaBits field.public byte cDepthBits()
cDepthBits field.public byte cStencilBits()
cStencilBits field.public byte cAuxBuffers()
cAuxBuffers field.public byte iLayerType()
iLayerType field.public byte bReserved()
bReserved field.public int dwLayerMask()
dwLayerMask field.public int dwVisibleMask()
dwVisibleMask field.public int dwDamageMask()
dwDamageMask field.public PIXELFORMATDESCRIPTOR nSize(short value)
nSize field.public PIXELFORMATDESCRIPTOR nVersion(short value)
nVersion field.public PIXELFORMATDESCRIPTOR dwFlags(int value)
dwFlags field.public PIXELFORMATDESCRIPTOR iPixelType(byte value)
iPixelType field.public PIXELFORMATDESCRIPTOR cColorBits(byte value)
cColorBits field.public PIXELFORMATDESCRIPTOR cRedBits(byte value)
cRedBits field.public PIXELFORMATDESCRIPTOR cRedShift(byte value)
cRedShift field.public PIXELFORMATDESCRIPTOR cGreenBits(byte value)
cGreenBits field.public PIXELFORMATDESCRIPTOR cGreenShift(byte value)
cGreenShift field.public PIXELFORMATDESCRIPTOR cBlueBits(byte value)
cBlueBits field.public PIXELFORMATDESCRIPTOR cBlueShift(byte value)
cBlueShift field.public PIXELFORMATDESCRIPTOR cAlphaBits(byte value)
cAlphaBits field.public PIXELFORMATDESCRIPTOR cAlphaShift(byte value)
cAlphaShift field.public PIXELFORMATDESCRIPTOR cAccumBits(byte value)
cAccumBits field.public PIXELFORMATDESCRIPTOR cAccumRedBits(byte value)
cAccumRedBits field.public PIXELFORMATDESCRIPTOR cAccumGreenBits(byte value)
cAccumGreenBits field.public PIXELFORMATDESCRIPTOR cAccumBlueBits(byte value)
cAccumBlueBits field.public PIXELFORMATDESCRIPTOR cAccumAlphaBits(byte value)
cAccumAlphaBits field.public PIXELFORMATDESCRIPTOR cDepthBits(byte value)
cDepthBits field.public PIXELFORMATDESCRIPTOR cStencilBits(byte value)
cStencilBits field.public PIXELFORMATDESCRIPTOR cAuxBuffers(byte value)
cAuxBuffers field.public PIXELFORMATDESCRIPTOR iLayerType(byte value)
iLayerType field.public PIXELFORMATDESCRIPTOR bReserved(byte value)
bReserved field.public PIXELFORMATDESCRIPTOR dwLayerMask(int value)
dwLayerMask field.public PIXELFORMATDESCRIPTOR dwVisibleMask(int value)
dwVisibleMask field.public PIXELFORMATDESCRIPTOR dwDamageMask(int value)
dwDamageMask field.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)
public PIXELFORMATDESCRIPTOR set(PIXELFORMATDESCRIPTOR src)
src - the source structpublic static PIXELFORMATDESCRIPTOR malloc()
PIXELFORMATDESCRIPTOR instance allocated with memAlloc. The instance must be explicitly freed.public static PIXELFORMATDESCRIPTOR calloc()
PIXELFORMATDESCRIPTOR instance allocated with memCalloc. The instance must be explicitly freed.public static PIXELFORMATDESCRIPTOR create()
PIXELFORMATDESCRIPTOR instance allocated with BufferUtils.public static PIXELFORMATDESCRIPTOR create(long address)
PIXELFORMATDESCRIPTOR instance for the specified memory address.@Nullable public static PIXELFORMATDESCRIPTOR createSafe(long address)
public static PIXELFORMATDESCRIPTOR.Buffer malloc(int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer calloc(int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer create(int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer create(long address, int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static PIXELFORMATDESCRIPTOR.Buffer createSafe(long address, int capacity)
public static PIXELFORMATDESCRIPTOR mallocStack()
PIXELFORMATDESCRIPTOR instance allocated on the thread-local MemoryStack.public static PIXELFORMATDESCRIPTOR callocStack()
PIXELFORMATDESCRIPTOR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static PIXELFORMATDESCRIPTOR mallocStack(org.lwjgl.system.MemoryStack stack)
PIXELFORMATDESCRIPTOR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static PIXELFORMATDESCRIPTOR callocStack(org.lwjgl.system.MemoryStack stack)
PIXELFORMATDESCRIPTOR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static PIXELFORMATDESCRIPTOR.Buffer mallocStack(int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer callocStack(int capacity)
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static PIXELFORMATDESCRIPTOR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
PIXELFORMATDESCRIPTOR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static short nnSize(long struct)
nSize().public static short nnVersion(long struct)
nVersion().public static int ndwFlags(long struct)
dwFlags().public static byte niPixelType(long struct)
iPixelType().public static byte ncColorBits(long struct)
cColorBits().public static byte ncRedBits(long struct)
cRedBits().public static byte ncRedShift(long struct)
cRedShift().public static byte ncGreenBits(long struct)
cGreenBits().public static byte ncGreenShift(long struct)
cGreenShift().public static byte ncBlueBits(long struct)
cBlueBits().public static byte ncBlueShift(long struct)
cBlueShift().public static byte ncAlphaBits(long struct)
cAlphaBits().public static byte ncAlphaShift(long struct)
cAlphaShift().public static byte ncAccumBits(long struct)
cAccumBits().public static byte ncAccumRedBits(long struct)
cAccumRedBits().public static byte ncAccumGreenBits(long struct)
cAccumGreenBits().public static byte ncAccumBlueBits(long struct)
cAccumBlueBits().public static byte ncAccumAlphaBits(long struct)
cAccumAlphaBits().public static byte ncDepthBits(long struct)
cDepthBits().public static byte ncStencilBits(long struct)
cStencilBits().public static byte ncAuxBuffers(long struct)
cAuxBuffers().public static byte niLayerType(long struct)
iLayerType().public static byte nbReserved(long struct)
bReserved().public static int ndwLayerMask(long struct)
dwLayerMask().public static int ndwVisibleMask(long struct)
dwVisibleMask().public static int ndwDamageMask(long struct)
dwDamageMask().public static void nnSize(long struct,
short value)
nSize.public static void nnVersion(long struct,
short value)
nVersion.public static void ndwFlags(long struct,
int value)
dwFlags.public static void niPixelType(long struct,
byte value)
iPixelType.public static void ncColorBits(long struct,
byte value)
cColorBits.public static void ncRedBits(long struct,
byte value)
cRedBits.public static void ncRedShift(long struct,
byte value)
cRedShift.public static void ncGreenBits(long struct,
byte value)
cGreenBits.public static void ncGreenShift(long struct,
byte value)
cGreenShift.public static void ncBlueBits(long struct,
byte value)
cBlueBits.public static void ncBlueShift(long struct,
byte value)
cBlueShift.public static void ncAlphaBits(long struct,
byte value)
cAlphaBits.public static void ncAlphaShift(long struct,
byte value)
cAlphaShift.public static void ncAccumBits(long struct,
byte value)
cAccumBits.public static void ncAccumRedBits(long struct,
byte value)
cAccumRedBits.public static void ncAccumGreenBits(long struct,
byte value)
cAccumGreenBits.public static void ncAccumBlueBits(long struct,
byte value)
cAccumBlueBits.public static void ncAccumAlphaBits(long struct,
byte value)
cAccumAlphaBits.public static void ncDepthBits(long struct,
byte value)
cDepthBits.public static void ncStencilBits(long struct,
byte value)
cStencilBits.public static void ncAuxBuffers(long struct,
byte value)
cAuxBuffers.public static void niLayerType(long struct,
byte value)
iLayerType.public static void nbReserved(long struct,
byte value)
bReserved.public static void ndwLayerMask(long struct,
int value)
dwLayerMask.public static void ndwVisibleMask(long struct,
int value)
dwVisibleMask.public static void ndwDamageMask(long struct,
int value)
dwDamageMask.Copyright LWJGL. All Rights Reserved. License terms.