Public Member Functions | |
| std_array_MR_Vector2f_3 (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| std_array_MR_Vector2f_3 | copy () |
| void | set (std_array_MR_Vector2f_3 other) |
| meshlib.Vector2f | elems (int i0) |
| void | setElems (int i0, meshlib.Vector2f value) |
| std_array_MR_Vector2f_3 () | |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"elems"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.MemoryLayout.sequenceLayout(3, meshlib.Vector2f.LAYOUT)}) |
| static final long | OFF_elems = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("elems")) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppStruct | |
| CppStruct (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Protected Attributes inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | segment |
A fixed-size array of MR::Vector2f of size 3.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.std_array_MR_Vector2f_3.std_array_MR_Vector2f_3 | ( | java.lang.foreign.MemorySegment | segment, |
| java.lang.Object | owner ) |
Wraps a segment holding the struct. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.std_array_MR_Vector2f_3.std_array_MR_Vector2f_3 | ( | ) |
Zero-initialized.
| std_array_MR_Vector2f_3 meshlib.std_array_MR_Vector2f_3.copy | ( | ) |
A copy of the struct, in its own memory.
| meshlib.Vector2f meshlib.std_array_MR_Vector2f_3.elems | ( | int | i0 | ) |
| void meshlib.std_array_MR_Vector2f_3.set | ( | std_array_MR_Vector2f_3 | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.std_array_MR_Vector2f_3.setElems | ( | int | i0, |
| meshlib.Vector2f | value ) |
|
static |
The native layout of the struct.
|
static |