Package org.lwjgl.assimp
Class AIPropertyStore
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.assimp.AIPropertyStore
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class AIPropertyStore extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents an opaque set of settings to be used during importing.Layout
struct aiPropertyStore { char sentinel; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAIPropertyStore.BufferAn array ofAIPropertyStorestructs.
-
Constructor Summary
Constructors Constructor Description AIPropertyStore(java.nio.ByteBuffer container)Creates aAIPropertyStoreinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AIPropertyStorecalloc()Returns a newAIPropertyStoreinstance allocated withmemCalloc.static AIPropertyStore.Buffercalloc(int capacity)Returns a newAIPropertyStore.Bufferinstance allocated withmemCalloc.static AIPropertyStorecallocStack()Returns a newAIPropertyStoreinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static AIPropertyStore.BuffercallocStack(int capacity)Returns a newAIPropertyStore.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static AIPropertyStore.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIPropertyStorecallocStack(org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 AIPropertyStorecreateSafe(long address)static 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 AIPropertyStoremallocStack()Returns a newAIPropertyStoreinstance allocated on the thread-localMemoryStack.static AIPropertyStore.BuffermallocStack(int capacity)Returns a newAIPropertyStore.Bufferinstance allocated on the thread-localMemoryStack.static AIPropertyStore.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStack.static AIPropertyStoremallocStack(org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.static bytensentinel(long struct)Unsafe version ofsentinel().static voidnsentinel(long struct, byte value)Unsafe version ofsentinel.bytesentinel()Returns the value of thesentinelfield.AIPropertyStoresentinel(byte value)Sets the specified value to thesentinelfield.AIPropertyStoreset(AIPropertyStore src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
AIPropertyStore
public AIPropertyStore(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sentinel
public byte sentinel()
Returns the value of thesentinelfield.
-
sentinel
public AIPropertyStore sentinel(byte value)
Sets the specified value to thesentinelfield.
-
set
public AIPropertyStore set(AIPropertyStore src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static AIPropertyStore malloc()
Returns a newAIPropertyStoreinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static AIPropertyStore calloc()
Returns a newAIPropertyStoreinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static AIPropertyStore create()
Returns a newAIPropertyStoreinstance allocated withBufferUtils.
-
create
public static AIPropertyStore create(long address)
Returns a newAIPropertyStoreinstance for the specified memory address.
-
createSafe
@Nullable public static AIPropertyStore createSafe(long address)
-
malloc
public static AIPropertyStore.Buffer malloc(int capacity)
Returns a newAIPropertyStore.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static AIPropertyStore.Buffer calloc(int capacity)
Returns a newAIPropertyStore.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static AIPropertyStore.Buffer create(int capacity)
Returns a newAIPropertyStore.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static AIPropertyStore.Buffer create(long address, int capacity)
Create aAIPropertyStore.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static AIPropertyStore.Buffer createSafe(long address, int capacity)
-
mallocStack
public static AIPropertyStore mallocStack()
Returns a newAIPropertyStoreinstance allocated on the thread-localMemoryStack.
-
callocStack
public static AIPropertyStore callocStack()
Returns a newAIPropertyStoreinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static AIPropertyStore mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static AIPropertyStore callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static AIPropertyStore.Buffer mallocStack(int capacity)
Returns a newAIPropertyStore.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static AIPropertyStore.Buffer callocStack(int capacity)
Returns a newAIPropertyStore.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static AIPropertyStore.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static AIPropertyStore.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsentinel
public static byte nsentinel(long struct)
Unsafe version ofsentinel().
-
nsentinel
public static void nsentinel(long struct, byte value)Unsafe version ofsentinel.
-
-