Package org.lwjgl.assimp
Class AIPropertyStore
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct aiPropertyStore {
char sentinel;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionAIPropertyStore(ByteBuffer container) Creates aAIPropertyStoreinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic AIPropertyStorecalloc()Returns a newAIPropertyStoreinstance allocated withmemCalloc.static AIPropertyStore.Buffercalloc(int capacity) Returns a newAIPropertyStore.Bufferinstance allocated withmemCalloc.static AIPropertyStore.Buffercalloc(int capacity, MemoryStack stack) Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIPropertyStorecalloc(MemoryStack stack) Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIPropertyStoreDeprecated.static AIPropertyStore.BuffercallocStack(int capacity) Deprecated.static AIPropertyStore.BuffercallocStack(int capacity, MemoryStack stack) Deprecated.static AIPropertyStorecallocStack(MemoryStack stack) Deprecated.static AIPropertyStorecreate()Returns a newAIPropertyStoreinstance allocated withBufferUtils.static AIPropertyStore.Buffercreate(int capacity) Returns a newAIPropertyStore.Bufferinstance allocated withBufferUtils.static AIPropertyStorecreate(long address) Returns a newAIPropertyStoreinstance for the specified memory address.static AIPropertyStore.Buffercreate(long address, int capacity) Create aAIPropertyStore.Bufferinstance at the specified memory.static @Nullable AIPropertyStorecreateSafe(long address) static @Nullable AIPropertyStore.BuffercreateSafe(long address, int capacity) static AIPropertyStoremalloc()Returns a newAIPropertyStoreinstance allocated withmemAlloc.static AIPropertyStore.Buffermalloc(int capacity) Returns a newAIPropertyStore.Bufferinstance allocated withmemAlloc.static AIPropertyStore.Buffermalloc(int capacity, MemoryStack stack) Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStack.static AIPropertyStoremalloc(MemoryStack stack) Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.static AIPropertyStoreDeprecated.static AIPropertyStore.BuffermallocStack(int capacity) Deprecated.static AIPropertyStore.BuffermallocStack(int capacity, MemoryStack stack) Deprecated.static AIPropertyStoremallocStack(MemoryStack stack) Deprecated.static bytensentinel(long struct) Unsafe version ofsentinel().static voidnsentinel(long struct, byte value) Unsafe version ofsentinel.bytesentinel()sentinel(byte value) Sets the specified value to thesentinelfield.set(AIPropertyStore src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SENTINEL
public static final int SENTINELThe struct member offsets.
-
-
Constructor Details
-
AIPropertyStore
Creates aAIPropertyStoreinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<AIPropertyStore>
-
sentinel
public byte sentinel()- Returns:
- the value of the
sentinelfield.
-
sentinel
Sets the specified value to thesentinelfield. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newAIPropertyStoreinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newAIPropertyStoreinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newAIPropertyStoreinstance allocated withBufferUtils. -
create
Returns a newAIPropertyStoreinstance for the specified memory address. -
createSafe
-
malloc
Returns a newAIPropertyStore.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newAIPropertyStore.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newAIPropertyStore.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aAIPropertyStore.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsentinel
public static byte nsentinel(long struct) Unsafe version ofsentinel(). -
nsentinel
public static void nsentinel(long struct, byte value) Unsafe version ofsentinel.
-