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