public class AIMatrix3x3
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct aiMatrix3x3 {
float a1;
float a2;
float a3;
float b1;
float b2;
float b3;
float c1;
float c2;
float c3;
}| Modifier and Type | Class and Description |
|---|---|
static class |
AIMatrix3x3.Buffer
An array of
AIMatrix3x3 structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
A1
The struct member offsets.
|
static int |
A2
The struct member offsets.
|
static int |
A3
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
B1
The struct member offsets.
|
static int |
B2
The struct member offsets.
|
static int |
B3
The struct member offsets.
|
static int |
C1
The struct member offsets.
|
static int |
C2
The struct member offsets.
|
static int |
C3
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
AIMatrix3x3(java.nio.ByteBuffer container)
Creates a
AIMatrix3x3 instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
float |
a1()
Returns the value of the
a1 field. |
AIMatrix3x3 |
a1(float value)
Sets the specified value to the
a1 field. |
float |
a2()
Returns the value of the
a2 field. |
AIMatrix3x3 |
a2(float value)
Sets the specified value to the
a2 field. |
float |
a3()
Returns the value of the
a3 field. |
AIMatrix3x3 |
a3(float value)
Sets the specified value to the
a3 field. |
float |
b1()
Returns the value of the
b1 field. |
AIMatrix3x3 |
b1(float value)
Sets the specified value to the
b1 field. |
float |
b2()
Returns the value of the
b2 field. |
AIMatrix3x3 |
b2(float value)
Sets the specified value to the
b2 field. |
float |
b3()
Returns the value of the
b3 field. |
AIMatrix3x3 |
b3(float value)
Sets the specified value to the
b3 field. |
float |
c1()
Returns the value of the
c1 field. |
AIMatrix3x3 |
c1(float value)
Sets the specified value to the
c1 field. |
float |
c2()
Returns the value of the
c2 field. |
AIMatrix3x3 |
c2(float value)
Sets the specified value to the
c2 field. |
float |
c3()
Returns the value of the
c3 field. |
AIMatrix3x3 |
c3(float value)
Sets the specified value to the
c3 field. |
static AIMatrix3x3 |
calloc()
Returns a new
AIMatrix3x3 instance allocated with memCalloc. |
static AIMatrix3x3.Buffer |
calloc(int capacity)
Returns a new
AIMatrix3x3.Buffer instance allocated with memCalloc. |
static AIMatrix3x3 |
callocStack()
Returns a new
AIMatrix3x3 instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static AIMatrix3x3.Buffer |
callocStack(int capacity)
Returns a new
AIMatrix3x3.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static AIMatrix3x3.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
AIMatrix3x3.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static AIMatrix3x3 |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
AIMatrix3x3 instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static AIMatrix3x3 |
create()
Returns a new
AIMatrix3x3 instance allocated with BufferUtils. |
static AIMatrix3x3.Buffer |
create(int capacity)
Returns a new
AIMatrix3x3.Buffer instance allocated with BufferUtils. |
static AIMatrix3x3 |
create(long address)
Returns a new
AIMatrix3x3 instance for the specified memory address. |
static AIMatrix3x3.Buffer |
create(long address,
int capacity)
Create a
AIMatrix3x3.Buffer instance at the specified memory. |
static AIMatrix3x3 |
createSafe(long address)
|
static AIMatrix3x3.Buffer |
createSafe(long address,
int capacity)
|
static AIMatrix3x3 |
malloc()
Returns a new
AIMatrix3x3 instance allocated with memAlloc. |
static AIMatrix3x3.Buffer |
malloc(int capacity)
Returns a new
AIMatrix3x3.Buffer instance allocated with memAlloc. |
static AIMatrix3x3 |
mallocStack()
Returns a new
AIMatrix3x3 instance allocated on the thread-local MemoryStack. |
static AIMatrix3x3.Buffer |
mallocStack(int capacity)
Returns a new
AIMatrix3x3.Buffer instance allocated on the thread-local MemoryStack. |
static AIMatrix3x3.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
AIMatrix3x3.Buffer instance allocated on the specified MemoryStack. |
static AIMatrix3x3 |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
AIMatrix3x3 instance allocated on the specified MemoryStack. |
static float |
na1(long struct)
Unsafe version of
a1(). |
static void |
na1(long struct,
float value)
Unsafe version of
a1. |
static float |
na2(long struct)
Unsafe version of
a2(). |
static void |
na2(long struct,
float value)
Unsafe version of
a2. |
static float |
na3(long struct)
Unsafe version of
a3(). |
static void |
na3(long struct,
float value)
Unsafe version of
a3. |
static float |
nb1(long struct)
Unsafe version of
b1(). |
static void |
nb1(long struct,
float value)
Unsafe version of
b1. |
static float |
nb2(long struct)
Unsafe version of
b2(). |
static void |
nb2(long struct,
float value)
Unsafe version of
b2. |
static float |
nb3(long struct)
Unsafe version of
b3(). |
static void |
nb3(long struct,
float value)
Unsafe version of
b3. |
static float |
nc1(long struct)
Unsafe version of
c1(). |
static void |
nc1(long struct,
float value)
Unsafe version of
c1. |
static float |
nc2(long struct)
Unsafe version of
c2(). |
static void |
nc2(long struct,
float value)
Unsafe version of
c2. |
static float |
nc3(long struct)
Unsafe version of
c3(). |
static void |
nc3(long struct,
float value)
Unsafe version of
c3. |
AIMatrix3x3 |
set(AIMatrix3x3 src)
Copies the specified struct data to this struct.
|
AIMatrix3x3 |
set(float a1,
float a2,
float a3,
float b1,
float b2,
float b3,
float c1,
float c2,
float c3)
Initializes this struct with the specified values.
|
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int A1
public static final int A2
public static final int A3
public static final int B1
public static final int B2
public static final int B3
public static final int C1
public static final int C2
public static final int C3
public AIMatrix3x3(java.nio.ByteBuffer container)
AIMatrix3x3 instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic float a1()
a1 field.public float a2()
a2 field.public float a3()
a3 field.public float b1()
b1 field.public float b2()
b2 field.public float b3()
b3 field.public float c1()
c1 field.public float c2()
c2 field.public float c3()
c3 field.public AIMatrix3x3 a1(float value)
a1 field.public AIMatrix3x3 a2(float value)
a2 field.public AIMatrix3x3 a3(float value)
a3 field.public AIMatrix3x3 b1(float value)
b1 field.public AIMatrix3x3 b2(float value)
b2 field.public AIMatrix3x3 b3(float value)
b3 field.public AIMatrix3x3 c1(float value)
c1 field.public AIMatrix3x3 c2(float value)
c2 field.public AIMatrix3x3 c3(float value)
c3 field.public AIMatrix3x3 set(float a1, float a2, float a3, float b1, float b2, float b3, float c1, float c2, float c3)
public AIMatrix3x3 set(AIMatrix3x3 src)
src - the source structpublic static AIMatrix3x3 malloc()
AIMatrix3x3 instance allocated with memAlloc. The instance must be explicitly freed.public static AIMatrix3x3 calloc()
AIMatrix3x3 instance allocated with memCalloc. The instance must be explicitly freed.public static AIMatrix3x3 create()
AIMatrix3x3 instance allocated with BufferUtils.public static AIMatrix3x3 create(long address)
AIMatrix3x3 instance for the specified memory address.@Nullable public static AIMatrix3x3 createSafe(long address)
public static AIMatrix3x3.Buffer malloc(int capacity)
AIMatrix3x3.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static AIMatrix3x3.Buffer calloc(int capacity)
AIMatrix3x3.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static AIMatrix3x3.Buffer create(int capacity)
AIMatrix3x3.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static AIMatrix3x3.Buffer create(long address, int capacity)
AIMatrix3x3.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static AIMatrix3x3.Buffer createSafe(long address, int capacity)
public static AIMatrix3x3 mallocStack()
AIMatrix3x3 instance allocated on the thread-local MemoryStack.public static AIMatrix3x3 callocStack()
AIMatrix3x3 instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static AIMatrix3x3 mallocStack(org.lwjgl.system.MemoryStack stack)
AIMatrix3x3 instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static AIMatrix3x3 callocStack(org.lwjgl.system.MemoryStack stack)
AIMatrix3x3 instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static AIMatrix3x3.Buffer mallocStack(int capacity)
AIMatrix3x3.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static AIMatrix3x3.Buffer callocStack(int capacity)
AIMatrix3x3.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static AIMatrix3x3.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
AIMatrix3x3.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static AIMatrix3x3.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
AIMatrix3x3.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static float na1(long struct)
a1().public static float na2(long struct)
a2().public static float na3(long struct)
a3().public static float nb1(long struct)
b1().public static float nb2(long struct)
b2().public static float nb3(long struct)
b3().public static float nc1(long struct)
c1().public static float nc2(long struct)
c2().public static float nc3(long struct)
c3().public static void na1(long struct,
float value)
a1.public static void na2(long struct,
float value)
a2.public static void na3(long struct,
float value)
a3.public static void nb1(long struct,
float value)
b1.public static void nb2(long struct,
float value)
b2.public static void nb3(long struct,
float value)
b3.public static void nc1(long struct,
float value)
c1.public static void nc2(long struct,
float value)
c2.public static void nc3(long struct,
float value)
c3.Copyright LWJGL. All Rights Reserved. License terms.