public class CUIPCEventHandle
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct CUipcEventHandle {
char reserved[CU_IPC_HANDLE_SIZE];
}| Modifier and Type | Class and Description |
|---|---|
static class |
CUIPCEventHandle.Buffer
An array of
CUIPCEventHandle structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
RESERVED
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
CUIPCEventHandle(java.nio.ByteBuffer container)
Creates a
CUIPCEventHandle instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static CUIPCEventHandle |
calloc()
Returns a new
CUIPCEventHandle instance allocated with memCalloc. |
static CUIPCEventHandle.Buffer |
calloc(int capacity)
Returns a new
CUIPCEventHandle.Buffer instance allocated with memCalloc. |
static CUIPCEventHandle |
callocStack()
Returns a new
CUIPCEventHandle instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUIPCEventHandle.Buffer |
callocStack(int capacity)
Returns a new
CUIPCEventHandle.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUIPCEventHandle.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUIPCEventHandle.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUIPCEventHandle |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUIPCEventHandle instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUIPCEventHandle |
create()
Returns a new
CUIPCEventHandle instance allocated with BufferUtils. |
static CUIPCEventHandle.Buffer |
create(int capacity)
Returns a new
CUIPCEventHandle.Buffer instance allocated with BufferUtils. |
static CUIPCEventHandle |
create(long address)
Returns a new
CUIPCEventHandle instance for the specified memory address. |
static CUIPCEventHandle.Buffer |
create(long address,
int capacity)
Create a
CUIPCEventHandle.Buffer instance at the specified memory. |
static CUIPCEventHandle |
createSafe(long address)
|
static CUIPCEventHandle.Buffer |
createSafe(long address,
int capacity)
|
static CUIPCEventHandle |
malloc()
Returns a new
CUIPCEventHandle instance allocated with memAlloc. |
static CUIPCEventHandle.Buffer |
malloc(int capacity)
Returns a new
CUIPCEventHandle.Buffer instance allocated with memAlloc. |
static CUIPCEventHandle |
mallocStack()
Returns a new
CUIPCEventHandle instance allocated on the thread-local MemoryStack. |
static CUIPCEventHandle.Buffer |
mallocStack(int capacity)
Returns a new
CUIPCEventHandle.Buffer instance allocated on the thread-local MemoryStack. |
static CUIPCEventHandle.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUIPCEventHandle.Buffer instance allocated on the specified MemoryStack. |
static CUIPCEventHandle |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUIPCEventHandle instance allocated on the specified MemoryStack. |
static java.nio.ByteBuffer |
nreserved(long struct)
Unsafe version of
reserved(). |
static void |
nreserved(long struct,
java.nio.ByteBuffer value)
Unsafe version of
reserved. |
static byte |
nreserved(long struct,
int index)
Unsafe version of
reserved. |
static void |
nreserved(long struct,
int index,
byte value)
Unsafe version of
reserved. |
java.nio.ByteBuffer |
reserved()
Returns a
ByteBuffer view of the reserved field. |
CUIPCEventHandle |
reserved(java.nio.ByteBuffer value)
Copies the specified
ByteBuffer to the reserved field. |
byte |
reserved(int index)
Returns the value at the specified index of the
reserved field. |
CUIPCEventHandle |
reserved(int index,
byte value)
Sets the specified value at the specified index of the
reserved field. |
CUIPCEventHandle |
set(CUIPCEventHandle src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int RESERVED
public CUIPCEventHandle(java.nio.ByteBuffer container)
CUIPCEventHandle 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 java.nio.ByteBuffer reserved()
ByteBuffer view of the reserved field.public byte reserved(int index)
reserved field.public CUIPCEventHandle reserved(java.nio.ByteBuffer value)
ByteBuffer to the reserved field.public CUIPCEventHandle reserved(int index, byte value)
reserved field.public CUIPCEventHandle set(CUIPCEventHandle src)
src - the source structpublic static CUIPCEventHandle malloc()
CUIPCEventHandle instance allocated with memAlloc. The instance must be explicitly freed.public static CUIPCEventHandle calloc()
CUIPCEventHandle instance allocated with memCalloc. The instance must be explicitly freed.public static CUIPCEventHandle create()
CUIPCEventHandle instance allocated with BufferUtils.public static CUIPCEventHandle create(long address)
CUIPCEventHandle instance for the specified memory address.@Nullable public static CUIPCEventHandle createSafe(long address)
public static CUIPCEventHandle.Buffer malloc(int capacity)
CUIPCEventHandle.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUIPCEventHandle.Buffer calloc(int capacity)
CUIPCEventHandle.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUIPCEventHandle.Buffer create(int capacity)
CUIPCEventHandle.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CUIPCEventHandle.Buffer create(long address, int capacity)
CUIPCEventHandle.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CUIPCEventHandle.Buffer createSafe(long address, int capacity)
public static CUIPCEventHandle mallocStack()
CUIPCEventHandle instance allocated on the thread-local MemoryStack.public static CUIPCEventHandle callocStack()
CUIPCEventHandle instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CUIPCEventHandle mallocStack(org.lwjgl.system.MemoryStack stack)
CUIPCEventHandle instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CUIPCEventHandle callocStack(org.lwjgl.system.MemoryStack stack)
CUIPCEventHandle instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CUIPCEventHandle.Buffer mallocStack(int capacity)
CUIPCEventHandle.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CUIPCEventHandle.Buffer callocStack(int capacity)
CUIPCEventHandle.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CUIPCEventHandle.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUIPCEventHandle.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CUIPCEventHandle.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUIPCEventHandle.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 java.nio.ByteBuffer nreserved(long struct)
reserved().public static byte nreserved(long struct,
int index)
reserved.public static void nreserved(long struct,
java.nio.ByteBuffer value)
reserved.public static void nreserved(long struct,
int index,
byte value)
reserved.Copyright LWJGL. All Rights Reserved. License terms.