Public Member Functions | |
| Vector4b (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector4b | copy () |
| void | set (Vector4b other) |
| boolean | x () |
| void | setX (boolean value) |
| boolean | y () |
| void | setY (boolean value) |
| boolean | z () |
| void | setZ (boolean value) |
| boolean | w () |
| void | setW (boolean value) |
| Vector4b () | |
| Vector4b (meshlib.NoInit _1) | |
| Vector4b (boolean x, boolean y, boolean z, boolean w) | |
| boolean | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| int | lengthSq () |
| double | length () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector4b | diagonal (boolean 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_BOOLEAN, java.lang.foreign.ValueLayout.JAVA_BOOLEAN, java.lang.foreign.ValueLayout.JAVA_BOOLEAN, java.lang.foreign.ValueLayout.JAVA_BOOLEAN}) |
| 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::Vector4b.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector4b.Vector4b | ( | 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.Vector4b.Vector4b | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector4b_DefaultConstruct().
| meshlib.Vector4b.Vector4b | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector4b::Vector4b. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector4b_Construct_1().
| meshlib.Vector4b.Vector4b | ( | boolean | x, |
| boolean | y, | ||
| boolean | z, | ||
| boolean | w ) |
Generated from constructor MR::Vector4b::Vector4b.
Calls MR_Vector4b_Construct_4().
| Vector4b meshlib.Vector4b.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector4b::diagonal.
Calls MR_Vector4b_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector4b named elements.
Calls MR_Vector4b_Get_elements().
| boolean meshlib.Vector4b.index | ( | int | e | ) |
Generated from method MR::Vector4b::operator[].
Calls MR_Vector4b_index().
| java.lang.foreign.MemorySegment meshlib.Vector4b.index_mut | ( | int | e | ) |
Generated from method MR::Vector4b::operator[].
Calls MR_Vector4b_index_mut(). Some types are raw C types, see the C bindings for the details.
| double meshlib.Vector4b.length | ( | ) |
Generated from method MR::Vector4b::length.
Calls MR_Vector4b_length().
| int meshlib.Vector4b.lengthSq | ( | ) |
Generated from method MR::Vector4b::lengthSq.
Calls MR_Vector4b_lengthSq().
| void meshlib.Vector4b.set | ( | Vector4b | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector4b.setW | ( | boolean | value | ) |
| void meshlib.Vector4b.setX | ( | boolean | value | ) |
| void meshlib.Vector4b.setY | ( | boolean | value | ) |
| void meshlib.Vector4b.setZ | ( | boolean | value | ) |
| boolean meshlib.Vector4b.w | ( | ) |
| boolean meshlib.Vector4b.x | ( | ) |
| boolean meshlib.Vector4b.y | ( | ) |
| boolean meshlib.Vector4b.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |
|
static |