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 Deprecated 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 AIPropertyStore.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIPropertyStorecalloc(org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIPropertyStorecallocStack()Deprecated.static AIPropertyStore.BuffercallocStack(int capacity)Deprecated.static AIPropertyStore.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static AIPropertyStorecallocStack(org.lwjgl.system.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 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 AIPropertyStore.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStore.Bufferinstance allocated on the specifiedMemoryStack.static AIPropertyStoremalloc(org.lwjgl.system.MemoryStack stack)Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.static AIPropertyStoremallocStack()Deprecated.static AIPropertyStore.BuffermallocStack(int capacity)Deprecated.static AIPropertyStore.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static AIPropertyStoremallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static bytensentinel(long struct)Unsafe version ofsentinel().static voidnsentinel(long struct, byte value)Unsafe version ofsentinel.bytesentinel()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 the
sentinelfield.
-
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
@Deprecated public static AIPropertyStore mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static AIPropertyStore callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static AIPropertyStore mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static AIPropertyStore callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static AIPropertyStore.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static AIPropertyStore.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static AIPropertyStore.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static AIPropertyStore.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static AIPropertyStore malloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStoreinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static AIPropertyStore calloc(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
-
malloc
public static AIPropertyStore.Buffer malloc(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
-
calloc
public static AIPropertyStore.Buffer calloc(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.
-
-