Top Description Inners Fields Constructors Methods
org.lwjgl.assimp

public Class AIMatrix4x4

extends Struct<AIMatrix4x4>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct aiMatrix4x4
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Represents a row-major 4x4 matrix, use this for homogeneous coordinates.

Layout


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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
AIMatrix4x4.Buffer

An array of AIMatrix4x4 structs.

Field Summary

Modifier and TypeField and Description
public static final int
A1

The struct member offsets.

public static final int
A2

The struct member offsets.

public static final int
A3

The struct member offsets.

public static final int
A4

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
B1

The struct member offsets.

public static final int
B2

The struct member offsets.

public static final int
B3

The struct member offsets.

public static final int
B4

The struct member offsets.

public static final int
C1

The struct member offsets.

public static final int
C2

The struct member offsets.

public static final int
C3

The struct member offsets.

public static final int
C4

The struct member offsets.

public static final int
D1

The struct member offsets.

public static final int
D2

The struct member offsets.

public static final int
D3

The struct member offsets.

public static final int
D4

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
AIMatrix4x4(long address, ByteBuffer container)

public
AIMatrix4x4(ByteBuffer container)

Creates a AIMatrix4x4 instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public float

Returns:

the value of the a1 field.
a1
()

public AIMatrix4x4
a1(float value)

Sets the specified value to the a1 field.

public float

Returns:

the value of the a2 field.
a2
()

public AIMatrix4x4
a2(float value)

Sets the specified value to the a2 field.

public float

Returns:

the value of the a3 field.
a3
()

public AIMatrix4x4
a3(float value)

Sets the specified value to the a3 field.

public float

Returns:

the value of the a4 field.
a4
()

public AIMatrix4x4
a4(float value)

Sets the specified value to the a4 field.

public float

Returns:

the value of the b1 field.
b1
()

public AIMatrix4x4
b1(float value)

Sets the specified value to the b1 field.

public float

Returns:

the value of the b2 field.
b2
()

public AIMatrix4x4
b2(float value)

Sets the specified value to the b2 field.

public float

Returns:

the value of the b3 field.
b3
()

public AIMatrix4x4
b3(float value)

Sets the specified value to the b3 field.

public float

Returns:

the value of the b4 field.
b4
()

public AIMatrix4x4
b4(float value)

Sets the specified value to the b4 field.

public float

Returns:

the value of the c1 field.
c1
()

public AIMatrix4x4
c1(float value)

Sets the specified value to the c1 field.

public float

Returns:

the value of the c2 field.
c2
()

public AIMatrix4x4
c2(float value)

Sets the specified value to the c2 field.

public float

Returns:

the value of the c3 field.
c3
()

public AIMatrix4x4
c3(float value)

Sets the specified value to the c3 field.

public float

Returns:

the value of the c4 field.
c4
()

public AIMatrix4x4
c4(float value)

Sets the specified value to the c4 field.

public static AIMatrix4x4
calloc()

Returns a new AIMatrix4x4 instance allocated with memCalloc.

public static AIMatrix4x4.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new AIMatrix4x4.Buffer instance allocated with memCalloc.

public static AIMatrix4x4
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new AIMatrix4x4 instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static AIMatrix4x4.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new AIMatrix4x4.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static AIMatrix4x4
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected AIMatrix4x4
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static AIMatrix4x4
create()

Returns a new AIMatrix4x4 instance allocated with BufferUtils.

public static AIMatrix4x4
create(long address)

Returns a new AIMatrix4x4 instance for the specified memory address.

public static AIMatrix4x4.Buffer
create(int
the buffer capacity
capacity
)

Returns a new AIMatrix4x4.Buffer instance allocated with BufferUtils.

public static AIMatrix4x4.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a AIMatrix4x4.Buffer instance at the specified memory.

public static AIMatrix4x4
createSafe(long address)

Like create, but returns null if address is NULL.

public static AIMatrix4x4.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public float

Returns:

the value of the d1 field.
d1
()

public AIMatrix4x4
d1(float value)

Sets the specified value to the d1 field.

public float

Returns:

the value of the d2 field.
d2
()

public AIMatrix4x4
d2(float value)

Sets the specified value to the d2 field.

public float

Returns:

the value of the d3 field.
d3
()

public AIMatrix4x4
d3(float value)

Sets the specified value to the d3 field.

public float

Returns:

the value of the d4 field.
d4
()

public AIMatrix4x4
d4(float value)

Sets the specified value to the d4 field.

public static AIMatrix4x4
malloc()

Returns a new AIMatrix4x4 instance allocated with memAlloc.

public static AIMatrix4x4.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new AIMatrix4x4.Buffer instance allocated with memAlloc.

public static AIMatrix4x4
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new AIMatrix4x4 instance allocated on the specified MemoryStack.

public static AIMatrix4x4.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new AIMatrix4x4.Buffer instance allocated on the specified MemoryStack.

public static AIMatrix4x4
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static AIMatrix4x4.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static float
na1(long struct)

Unsafe version of a1.

public static void
na1(long struct, float value)

Unsafe version of a1.

public static float
na2(long struct)

Unsafe version of a2.

public static void
na2(long struct, float value)

Unsafe version of a2.

public static float
na3(long struct)

Unsafe version of a3.

public static void
na3(long struct, float value)

Unsafe version of a3.

public static float
na4(long struct)

Unsafe version of a4.

public static void
na4(long struct, float value)

Unsafe version of a4.

public static float
nb1(long struct)

Unsafe version of b1.

public static void
nb1(long struct, float value)

Unsafe version of b1.

public static float
nb2(long struct)

Unsafe version of b2.

public static void
nb2(long struct, float value)

Unsafe version of b2.

public static float
nb3(long struct)

Unsafe version of b3.

public static void
nb3(long struct, float value)

Unsafe version of b3.

public static float
nb4(long struct)

Unsafe version of b4.

public static void
nb4(long struct, float value)

Unsafe version of b4.

public static float
nc1(long struct)

Unsafe version of c1.

public static void
nc1(long struct, float value)

Unsafe version of c1.

public static float
nc2(long struct)

Unsafe version of c2.

public static void
nc2(long struct, float value)

Unsafe version of c2.

public static float
nc3(long struct)

Unsafe version of c3.

public static void
nc3(long struct, float value)

Unsafe version of c3.

public static float
nc4(long struct)

Unsafe version of c4.

public static void
nc4(long struct, float value)

Unsafe version of c4.

public static float
nd1(long struct)

Unsafe version of d1.

public static void
nd1(long struct, float value)

Unsafe version of d1.

public static float
nd2(long struct)

Unsafe version of d2.

public static void
nd2(long struct, float value)

Unsafe version of d2.

public static float
nd3(long struct)

Unsafe version of d3.

public static void
nd3(long struct, float value)

Unsafe version of d3.

public static float
nd4(long struct)

Unsafe version of d4.

public static void
nd4(long struct, float value)

Unsafe version of d4.

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.

public AIMatrix4x4

Returns:

this struct
set
(AIMatrix4x4
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate