Package org.lwjgl.assimp
Class AIMeshMorphAnim
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct aiMeshMorphAnim {
struct aiString mName;
unsigned int mNumKeys;
struct aiMeshMorphKey * mKeys;
}-
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 member offsets.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
ConstructorsConstructorDescriptionAIMeshMorphAnim(ByteBuffer container) Creates aAIMeshMorphAniminstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic AIMeshMorphAnimcalloc()Returns a newAIMeshMorphAniminstance allocated withmemCalloc.static AIMeshMorphAnim.Buffercalloc(int capacity) Returns a newAIMeshMorphAnim.Bufferinstance allocated withmemCalloc.static AIMeshMorphAnim.Buffercalloc(int capacity, MemoryStack stack) Returns a newAIMeshMorphAnim.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMeshMorphAnimcalloc(MemoryStack stack) Returns a newAIMeshMorphAniminstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMeshMorphAnimcreate()Returns a newAIMeshMorphAniminstance allocated withBufferUtils.static AIMeshMorphAnim.Buffercreate(int capacity) Returns a newAIMeshMorphAnim.Bufferinstance allocated withBufferUtils.static AIMeshMorphAnimcreate(long address) Returns a newAIMeshMorphAniminstance for the specified memory address.static AIMeshMorphAnim.Buffercreate(long address, int capacity) Create aAIMeshMorphAnim.Bufferinstance at the specified memory.static @Nullable AIMeshMorphAnimcreateSafe(long address) static @Nullable AIMeshMorphAnim.BuffercreateSafe(long address, int capacity) static AIMeshMorphAnimmalloc()Returns a newAIMeshMorphAniminstance allocated withmemAlloc.static AIMeshMorphAnim.Buffermalloc(int capacity) Returns a newAIMeshMorphAnim.Bufferinstance allocated withmemAlloc.static AIMeshMorphAnim.Buffermalloc(int capacity, MemoryStack stack) Returns a newAIMeshMorphAnim.Bufferinstance allocated on the specifiedMemoryStack.static AIMeshMorphAnimmalloc(MemoryStack stack) Returns a newAIMeshMorphAniminstance allocated on the specifiedMemoryStack.mKeys()mKeys(AIMeshMorphKey.Buffer value) Sets the address of the specifiedAIMeshMorphKey.Bufferto themKeysfield.mName()Passes themNamefield to the specifiedConsumer.Copies the specifiedAIStringto themNamefield.intmNumKeys()static AIMeshMorphKey.BuffernmKeys(long struct) Unsafe version ofmKeys().static voidnmKeys(long struct, AIMeshMorphKey.Buffer value) Unsafe version ofmKeys.static AIStringnmName(long struct) Unsafe version ofmName().static voidUnsafe version ofmName.static intnmNumKeys(long struct) Unsafe version ofmNumKeys().static voidnmNumKeys(long struct, int value) Sets the specified value to themNumKeysfield of the specifiedstruct.set(AIMeshMorphAnim src) Copies the specified struct data to this struct.set(AIString mName, AIMeshMorphKey.Buffer mKeys) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.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. -
MNAME
public static final int MNAMEThe struct member offsets. -
MNUMKEYS
public static final int MNUMKEYSThe struct member offsets. -
MKEYS
public static final int MKEYSThe struct member offsets.
-
-
Constructor Details
-
AIMeshMorphAnim
Creates aAIMeshMorphAniminstance 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<AIMeshMorphAnim>
-
mName
- Returns:
- a
AIStringview of themNamefield.
-
mNumKeys
public int mNumKeys()- Returns:
- the value of the
mNumKeysfield.
-
mKeys
- Returns:
- a
AIMeshMorphKey.Bufferview of the struct array pointed to by themKeysfield.
-
mName
Copies the specifiedAIStringto themNamefield. -
mName
Passes themNamefield to the specifiedConsumer. -
mKeys
Sets the address of the specifiedAIMeshMorphKey.Bufferto themKeysfield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newAIMeshMorphAniminstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newAIMeshMorphAniminstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newAIMeshMorphAniminstance allocated withBufferUtils. -
create
Returns a newAIMeshMorphAniminstance for the specified memory address. -
createSafe
-
malloc
Returns a newAIMeshMorphAnim.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newAIMeshMorphAnim.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newAIMeshMorphAnim.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aAIMeshMorphAnim.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newAIMeshMorphAniminstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newAIMeshMorphAniminstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newAIMeshMorphAnim.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newAIMeshMorphAnim.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nmName
Unsafe version ofmName(). -
nmNumKeys
public static int nmNumKeys(long struct) Unsafe version ofmNumKeys(). -
nmKeys
Unsafe version ofmKeys(). -
nmName
Unsafe version ofmName. -
nmNumKeys
public static void nmNumKeys(long struct, int value) Sets the specified value to themNumKeysfield of the specifiedstruct. -
nmKeys
Unsafe version ofmKeys. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-