MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.std_array_float_33 Class Reference
Inheritance diagram for meshlib.std_array_float_33:

Public Member Functions

 std_array_float_33 (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
std_array_float_33 copy ()
void set (std_array_float_33 other)
float elems (int i0)
void setElems (int i0, float value)
 std_array_float_33 ()
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(33, java.lang.foreign.ValueLayout.JAVA_FLOAT)})
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

Detailed Description

A fixed-size array of float of size 33.

Has the same layout as the C++ struct, the fields are accessed in place in native memory.

Constructor & Destructor Documentation

◆ std_array_float_33() [1/2]

meshlib.std_array_float_33.std_array_float_33 ( 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.

◆ std_array_float_33() [2/2]

meshlib.std_array_float_33.std_array_float_33 ( )

Zero-initialized.

Member Function Documentation

◆ copy()

std_array_float_33 meshlib.std_array_float_33.copy ( )

A copy of the struct, in its own memory.

◆ elems()

float meshlib.std_array_float_33.elems ( int i0)

◆ set()

void meshlib.std_array_float_33.set ( std_array_float_33 other)

Overwrites the contents with those of another struct.

◆ setElems()

void meshlib.std_array_float_33.setElems ( int i0,
float value )

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.std_array_float_33.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"elems"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.MemoryLayout.sequenceLayout(33, java.lang.foreign.ValueLayout.JAVA_FLOAT)})
static

The native layout of the struct.

◆ OFF_elems

final long meshlib.std_array_float_33.OFF_elems = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("elems"))
static

The documentation for this class was generated from the following file: