Package org.lwjgl.assimp
Class AIMatrix4x4
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct aiMatrix4x4 {
float a1;
float a2;
float a3;
float a4;
float b1;
float b2;
float b3;
float b4;
float c1;
float c2;
float c3;
float c4;
float d1;
float d2;
float d3;
float d4;
}-
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 member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static 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 member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.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
ConstructorsConstructorDescriptionAIMatrix4x4(ByteBuffer container) Creates aAIMatrix4x4instance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionfloata1()a1(float value) Sets the specified value to thea1field.floata2()a2(float value) Sets the specified value to thea2field.floata3()a3(float value) Sets the specified value to thea3field.floata4()a4(float value) Sets the specified value to thea4field.floatb1()b1(float value) Sets the specified value to theb1field.floatb2()b2(float value) Sets the specified value to theb2field.floatb3()b3(float value) Sets the specified value to theb3field.floatb4()b4(float value) Sets the specified value to theb4field.floatc1()c1(float value) Sets the specified value to thec1field.floatc2()c2(float value) Sets the specified value to thec2field.floatc3()c3(float value) Sets the specified value to thec3field.floatc4()c4(float value) Sets the specified value to thec4field.static AIMatrix4x4calloc()Returns a newAIMatrix4x4instance allocated withmemCalloc.static AIMatrix4x4.Buffercalloc(int capacity) Returns a newAIMatrix4x4.Bufferinstance allocated withmemCalloc.static AIMatrix4x4.Buffercalloc(int capacity, MemoryStack stack) Returns a newAIMatrix4x4.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMatrix4x4calloc(MemoryStack stack) Returns a newAIMatrix4x4instance allocated on the specifiedMemoryStackand initializes all its bits to zero.static AIMatrix4x4Deprecated.static AIMatrix4x4.BuffercallocStack(int capacity) Deprecated.static AIMatrix4x4.BuffercallocStack(int capacity, MemoryStack stack) Deprecated.static AIMatrix4x4callocStack(MemoryStack stack) Deprecated.static AIMatrix4x4create()Returns a newAIMatrix4x4instance allocated withBufferUtils.static AIMatrix4x4.Buffercreate(int capacity) Returns a newAIMatrix4x4.Bufferinstance allocated withBufferUtils.static AIMatrix4x4create(long address) Returns a newAIMatrix4x4instance for the specified memory address.static AIMatrix4x4.Buffercreate(long address, int capacity) Create aAIMatrix4x4.Bufferinstance at the specified memory.static @Nullable AIMatrix4x4createSafe(long address) static @Nullable AIMatrix4x4.BuffercreateSafe(long address, int capacity) floatd1()d1(float value) Sets the specified value to thed1field.floatd2()d2(float value) Sets the specified value to thed2field.floatd3()d3(float value) Sets the specified value to thed3field.floatd4()d4(float value) Sets the specified value to thed4field.static AIMatrix4x4malloc()Returns a newAIMatrix4x4instance allocated withmemAlloc.static AIMatrix4x4.Buffermalloc(int capacity) Returns a newAIMatrix4x4.Bufferinstance allocated withmemAlloc.static AIMatrix4x4.Buffermalloc(int capacity, MemoryStack stack) Returns a newAIMatrix4x4.Bufferinstance allocated on the specifiedMemoryStack.static AIMatrix4x4malloc(MemoryStack stack) Returns a newAIMatrix4x4instance allocated on the specifiedMemoryStack.static AIMatrix4x4Deprecated.static AIMatrix4x4.BuffermallocStack(int capacity) Deprecated.static AIMatrix4x4.BuffermallocStack(int capacity, MemoryStack stack) Deprecated.static AIMatrix4x4mallocStack(MemoryStack stack) Deprecated.static floatna1(long struct) Unsafe version ofa1().static voidna1(long struct, float value) Unsafe version ofa1.static floatna2(long struct) Unsafe version ofa2().static voidna2(long struct, float value) Unsafe version ofa2.static floatna3(long struct) Unsafe version ofa3().static voidna3(long struct, float value) Unsafe version ofa3.static floatna4(long struct) Unsafe version ofa4().static voidna4(long struct, float value) Unsafe version ofa4.static floatnb1(long struct) Unsafe version ofb1().static voidnb1(long struct, float value) Unsafe version ofb1.static floatnb2(long struct) Unsafe version ofb2().static voidnb2(long struct, float value) Unsafe version ofb2.static floatnb3(long struct) Unsafe version ofb3().static voidnb3(long struct, float value) Unsafe version ofb3.static floatnb4(long struct) Unsafe version ofb4().static voidnb4(long struct, float value) Unsafe version ofb4.static floatnc1(long struct) Unsafe version ofc1().static voidnc1(long struct, float value) Unsafe version ofc1.static floatnc2(long struct) Unsafe version ofc2().static voidnc2(long struct, float value) Unsafe version ofc2.static floatnc3(long struct) Unsafe version ofc3().static voidnc3(long struct, float value) Unsafe version ofc3.static floatnc4(long struct) Unsafe version ofc4().static voidnc4(long struct, float value) Unsafe version ofc4.static floatnd1(long struct) Unsafe version ofd1().static voidnd1(long struct, float value) Unsafe version ofd1.static floatnd2(long struct) Unsafe version ofd2().static voidnd2(long struct, float value) Unsafe version ofd2.static floatnd3(long struct) Unsafe version ofd3().static voidnd3(long struct, float value) Unsafe version ofd3.static floatnd4(long struct) Unsafe version ofd4().static voidnd4(long struct, float value) Unsafe version ofd4.set(float a1, float a2, float a3, float a4, float b1, float b2, float b3, float b4, float c1, float c2, float c3, float c4, float d1, float d2, float d3, float d4) Initializes this struct with the specified values.set(AIMatrix4x4 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. -
A1
public static final int A1The struct member offsets. -
A2
public static final int A2The struct member offsets. -
A3
public static final int A3The struct member offsets. -
A4
public static final int A4The struct member offsets. -
B1
public static final int B1The struct member offsets. -
B2
public static final int B2The struct member offsets. -
B3
public static final int B3The struct member offsets. -
B4
public static final int B4The struct member offsets. -
C1
public static final int C1The struct member offsets. -
C2
public static final int C2The struct member offsets. -
C3
public static final int C3The struct member offsets. -
C4
public static final int C4The struct member offsets. -
D1
public static final int D1The struct member offsets. -
D2
public static final int D2The struct member offsets. -
D3
public static final int D3The struct member offsets. -
D4
public static final int D4The struct member offsets.
-
-
Constructor Details
-
AIMatrix4x4
Creates aAIMatrix4x4instance 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<AIMatrix4x4>
-
a1
public float a1()- Returns:
- the value of the
a1field.
-
a2
public float a2()- Returns:
- the value of the
a2field.
-
a3
public float a3()- Returns:
- the value of the
a3field.
-
a4
public float a4()- Returns:
- the value of the
a4field.
-
b1
public float b1()- Returns:
- the value of the
b1field.
-
b2
public float b2()- Returns:
- the value of the
b2field.
-
b3
public float b3()- Returns:
- the value of the
b3field.
-
b4
public float b4()- Returns:
- the value of the
b4field.
-
c1
public float c1()- Returns:
- the value of the
c1field.
-
c2
public float c2()- Returns:
- the value of the
c2field.
-
c3
public float c3()- Returns:
- the value of the
c3field.
-
c4
public float c4()- Returns:
- the value of the
c4field.
-
d1
public float d1()- Returns:
- the value of the
d1field.
-
d2
public float d2()- Returns:
- the value of the
d2field.
-
d3
public float d3()- Returns:
- the value of the
d3field.
-
d4
public float d4()- Returns:
- the value of the
d4field.
-
a1
Sets the specified value to thea1field. -
a2
Sets the specified value to thea2field. -
a3
Sets the specified value to thea3field. -
a4
Sets the specified value to thea4field. -
b1
Sets the specified value to theb1field. -
b2
Sets the specified value to theb2field. -
b3
Sets the specified value to theb3field. -
b4
Sets the specified value to theb4field. -
c1
Sets the specified value to thec1field. -
c2
Sets the specified value to thec2field. -
c3
Sets the specified value to thec3field. -
c4
Sets the specified value to thec4field. -
d1
Sets the specified value to thed1field. -
d2
Sets the specified value to thed2field. -
d3
Sets the specified value to thed3field. -
d4
Sets the specified value to thed4field. -
set
public AIMatrix4x4 set(float a1, float a2, float a3, float a4, float b1, float b2, float b3, float b4, float c1, float c2, float c3, float c4, float d1, float d2, float d3, float d4) 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 newAIMatrix4x4instance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newAIMatrix4x4instance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newAIMatrix4x4instance allocated withBufferUtils. -
create
Returns a newAIMatrix4x4instance for the specified memory address. -
createSafe
-
malloc
Returns a newAIMatrix4x4.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newAIMatrix4x4.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newAIMatrix4x4.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aAIMatrix4x4.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 newAIMatrix4x4instance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newAIMatrix4x4instance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newAIMatrix4x4.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newAIMatrix4x4.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
na1
public static float na1(long struct) Unsafe version ofa1(). -
na2
public static float na2(long struct) Unsafe version ofa2(). -
na3
public static float na3(long struct) Unsafe version ofa3(). -
na4
public static float na4(long struct) Unsafe version ofa4(). -
nb1
public static float nb1(long struct) Unsafe version ofb1(). -
nb2
public static float nb2(long struct) Unsafe version ofb2(). -
nb3
public static float nb3(long struct) Unsafe version ofb3(). -
nb4
public static float nb4(long struct) Unsafe version ofb4(). -
nc1
public static float nc1(long struct) Unsafe version ofc1(). -
nc2
public static float nc2(long struct) Unsafe version ofc2(). -
nc3
public static float nc3(long struct) Unsafe version ofc3(). -
nc4
public static float nc4(long struct) Unsafe version ofc4(). -
nd1
public static float nd1(long struct) Unsafe version ofd1(). -
nd2
public static float nd2(long struct) Unsafe version ofd2(). -
nd3
public static float nd3(long struct) Unsafe version ofd3(). -
nd4
public static float nd4(long struct) Unsafe version ofd4(). -
na1
public static void na1(long struct, float value) Unsafe version ofa1. -
na2
public static void na2(long struct, float value) Unsafe version ofa2. -
na3
public static void na3(long struct, float value) Unsafe version ofa3. -
na4
public static void na4(long struct, float value) Unsafe version ofa4. -
nb1
public static void nb1(long struct, float value) Unsafe version ofb1. -
nb2
public static void nb2(long struct, float value) Unsafe version ofb2. -
nb3
public static void nb3(long struct, float value) Unsafe version ofb3. -
nb4
public static void nb4(long struct, float value) Unsafe version ofb4. -
nc1
public static void nc1(long struct, float value) Unsafe version ofc1. -
nc2
public static void nc2(long struct, float value) Unsafe version ofc2. -
nc3
public static void nc3(long struct, float value) Unsafe version ofc3. -
nc4
public static void nc4(long struct, float value) Unsafe version ofc4. -
nd1
public static void nd1(long struct, float value) Unsafe version ofd1. -
nd2
public static void nd2(long struct, float value) Unsafe version ofd2. -
nd3
public static void nd3(long struct, float value) Unsafe version ofd3. -
nd4
public static void nd4(long struct, float value) Unsafe version ofd4.
-