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