MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.ObjVertId:

Public Member Functions

 ObjVertId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
ObjVertId copy ()
void set (ObjVertId other)
meshlib.ObjId objId ()
void setObjId (meshlib.ObjId value)
meshlib.VertId vId ()
void setVId (meshlib.VertId value)
 ObjVertId ()
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[]{"objId", "vId"}, new java.lang.foreign.MemoryLayout[]{meshlib.ObjId.LAYOUT, meshlib.VertId.LAYOUT})
static final long OFF_objId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("objId"))
static final long OFF_vId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("vId"))

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

Generated from class MR::ObjVertId.

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

Constructor & Destructor Documentation

◆ ObjVertId() [1/2]

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

◆ ObjVertId() [2/2]

meshlib.ObjVertId.ObjVertId ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjVertId_DefaultConstruct().

Member Function Documentation

◆ copy()

ObjVertId meshlib.ObjVertId.copy ( )

A copy of the struct, in its own memory.

◆ objId()

meshlib.ObjId meshlib.ObjVertId.objId ( )

◆ set()

void meshlib.ObjVertId.set ( ObjVertId other)

Overwrites the contents with those of another struct.

◆ setObjId()

void meshlib.ObjVertId.setObjId ( meshlib.ObjId value)

◆ setVId()

void meshlib.ObjVertId.setVId ( meshlib.VertId value)

◆ vId()

meshlib.VertId meshlib.ObjVertId.vId ( )

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.ObjVertId.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"objId", "vId"}, new java.lang.foreign.MemoryLayout[]{meshlib.ObjId.LAYOUT, meshlib.VertId.LAYOUT})
static

The native layout of the struct.

◆ OFF_objId

final long meshlib.ObjVertId.OFF_objId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("objId"))
static

◆ OFF_vId

final long meshlib.ObjVertId.OFF_vId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("vId"))
static

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