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