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.NativeResource
Represents 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 class
AIPropertyStore.Buffer
An array ofAIPropertyStore
structs.
-
Constructor Summary
Constructors Constructor Description AIPropertyStore(java.nio.ByteBuffer container)
Creates aAIPropertyStore
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AIPropertyStore
calloc()
Returns a newAIPropertyStore
instance allocated withmemCalloc
.static AIPropertyStore.Buffer
calloc(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withmemCalloc
.static AIPropertyStore.Buffer
calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static AIPropertyStore
calloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static AIPropertyStore
callocStack()
Deprecated.static AIPropertyStore.Buffer
callocStack(int capacity)
Deprecated.static AIPropertyStore.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.static AIPropertyStore
callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.static AIPropertyStore
create()
Returns a newAIPropertyStore
instance allocated withBufferUtils
.static AIPropertyStore.Buffer
create(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withBufferUtils
.static AIPropertyStore
create(long address)
Returns a newAIPropertyStore
instance for the specified memory address.static AIPropertyStore.Buffer
create(long address, int capacity)
Create aAIPropertyStore.Buffer
instance at the specified memory.static AIPropertyStore
createSafe(long address)
static AIPropertyStore.Buffer
createSafe(long address, int capacity)
static AIPropertyStore
malloc()
Returns a newAIPropertyStore
instance allocated withmemAlloc
.static AIPropertyStore.Buffer
malloc(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withmemAlloc
.static AIPropertyStore.Buffer
malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore.Buffer
instance allocated on the specifiedMemoryStack
.static AIPropertyStore
malloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore
instance allocated on the specifiedMemoryStack
.static AIPropertyStore
mallocStack()
Deprecated.static AIPropertyStore.Buffer
mallocStack(int capacity)
Deprecated.static AIPropertyStore.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.static AIPropertyStore
mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.static byte
nsentinel(long struct)
Unsafe version ofsentinel()
.static void
nsentinel(long struct, byte value)
Unsafe version ofsentinel
.byte
sentinel()
AIPropertyStore
sentinel(byte value)
Sets the specified value to thesentinel
field.AIPropertyStore
set(AIPropertyStore src)
Copies the specified struct data to this struct.int
sizeof()
-
-
-
Constructor Detail
-
AIPropertyStore
public AIPropertyStore(java.nio.ByteBuffer container)
Creates aAIPropertyStore
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sentinel
public byte sentinel()
- Returns:
- the value of the
sentinel
field.
-
sentinel
public AIPropertyStore sentinel(byte value)
Sets the specified value to thesentinel
field.
-
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 newAIPropertyStore
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static AIPropertyStore calloc()
Returns a newAIPropertyStore
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static AIPropertyStore create()
Returns a newAIPropertyStore
instance allocated withBufferUtils
.
-
create
public static AIPropertyStore create(long address)
Returns a newAIPropertyStore
instance for the specified memory address.
-
createSafe
@Nullable public static AIPropertyStore createSafe(long address)
-
malloc
public static AIPropertyStore.Buffer malloc(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static AIPropertyStore.Buffer calloc(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static AIPropertyStore.Buffer create(int capacity)
Returns a newAIPropertyStore.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static AIPropertyStore.Buffer create(long address, int capacity)
Create aAIPropertyStore.Buffer
instance 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 newAIPropertyStore
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
public static AIPropertyStore calloc(org.lwjgl.system.MemoryStack stack)
Returns a newAIPropertyStore
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-
-