Public Member Functions | |
| Vector4i64 (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector4i64 | copy () |
| void | set (Vector4i64 other) |
| long | x () |
| void | setX (long value) |
| long | y () |
| void | setY (long value) |
| long | z () |
| void | setZ (long value) |
| long | w () |
| void | setW (long value) |
| Vector4i64 () | |
| Vector4i64 (meshlib.NoInit _1) | |
| Vector4i64 (long x, long y, long z, long w) | |
| long | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| long | lengthSq () |
| double | length () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector4i64 | diagonal (long a) |
| static int | elements () |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y", "z", "w"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG}) |
| static final long | OFF_x = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("x")) |
| static final long | OFF_y = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("y")) |
| static final long | OFF_z = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("z")) |
| static final long | OFF_w = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("w")) |
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 |
four-dimensional vector Generated from class MR::Vector4i64.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector4i64.Vector4i64 | ( | 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.Vector4i64.Vector4i64 | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector4i64_DefaultConstruct().
| meshlib.Vector4i64.Vector4i64 | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector4i64::Vector4i64. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector4i64_Construct_1().
| meshlib.Vector4i64.Vector4i64 | ( | long | x, |
| long | y, | ||
| long | z, | ||
| long | w ) |
Generated from constructor MR::Vector4i64::Vector4i64. The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object. The reference to the parameter w might be preserved in the constructed object.
Calls MR_Vector4i64_Construct_4().
| Vector4i64 meshlib.Vector4i64.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector4i64::diagonal.
Calls MR_Vector4i64_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector4i64 named elements.
Calls MR_Vector4i64_Get_elements().
| long meshlib.Vector4i64.index | ( | int | e | ) |
Generated from method MR::Vector4i64::operator[].
Calls MR_Vector4i64_index().
| java.lang.foreign.MemorySegment meshlib.Vector4i64.index_mut | ( | int | e | ) |
Generated from method MR::Vector4i64::operator[].
Calls MR_Vector4i64_index_mut(). Some types are raw C types, see the C bindings for the details.
| double meshlib.Vector4i64.length | ( | ) |
Generated from method MR::Vector4i64::length.
Calls MR_Vector4i64_length().
| long meshlib.Vector4i64.lengthSq | ( | ) |
Generated from method MR::Vector4i64::lengthSq.
Calls MR_Vector4i64_lengthSq().
| void meshlib.Vector4i64.set | ( | Vector4i64 | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector4i64.setW | ( | long | value | ) |
| void meshlib.Vector4i64.setX | ( | long | value | ) |
| void meshlib.Vector4i64.setY | ( | long | value | ) |
| void meshlib.Vector4i64.setZ | ( | long | value | ) |
| long meshlib.Vector4i64.w | ( | ) |
| long meshlib.Vector4i64.x | ( | ) |
| long meshlib.Vector4i64.y | ( | ) |
| long meshlib.Vector4i64.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |
|
static |