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

Public Member Functions

 TextureId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
TextureId copy ()
void set (TextureId other)
int id_ ()
void setId_ (int value)
 TextureId ()
 TextureId (meshlib.NoInit _1)
 TextureId (int i)
int convertTo_int ()
boolean convertTo_bool ()
boolean valid ()
java.lang.foreign.MemorySegment get ()
boolean opEqual (meshlib.TextureId b)
boolean opNotEqual (meshlib.TextureId b)
boolean opLess (meshlib.TextureId b)
meshlib.TextureId opDecr ()
meshlib.TextureId opIncr ()
meshlib.TextureId opPostDecr ()
meshlib.TextureId opPostIncr ()
meshlib.TextureId sub_assign (int a)
meshlib.TextureId add_assign (int a)
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[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static final long OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))

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

stores index of some element, it is made as template class to avoid mixing faces, edges and vertices Generated from class MR::TextureId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::TextureId>

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

Constructor & Destructor Documentation

◆ TextureId() [1/4]

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

◆ TextureId() [2/4]

meshlib.TextureId.TextureId ( )

Constructs an empty (default-constructed) instance.

Calls MR_TextureId_DefaultConstruct().

◆ TextureId() [3/4]

meshlib.TextureId.TextureId ( meshlib.NoInit _1)

Generated from constructor MR::TextureId::TextureId. The reference to the parameter _1 might be preserved in the constructed object.

Calls MR_TextureId_Construct_MR_NoInit().

◆ TextureId() [4/4]

meshlib.TextureId.TextureId ( int i)

For the parser, pretend it's not templated. Instantiating the template above in the parser is difficult. Generated from constructor MR::TextureId::TextureId.

Calls MR_TextureId_Construct_int().

Member Function Documentation

◆ add_assign()

meshlib.TextureId meshlib.TextureId.add_assign ( int a)

Generated from method MR::TextureId::operator+=. The reference to this object might be preserved in the return value.

Calls MR_TextureId_add_assign().

◆ convertTo_bool()

boolean meshlib.TextureId.convertTo_bool ( )

Generated from conversion operator MR::TextureId::operator bool.

Calls MR_TextureId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.TextureId.convertTo_int ( )

Generated from conversion operator MR::TextureId::operator int.

Calls MR_TextureId_ConvertTo_int().

◆ copy()

TextureId meshlib.TextureId.copy ( )

A copy of the struct, in its own memory.

◆ get()

java.lang.foreign.MemorySegment meshlib.TextureId.get ( )

Generated from method MR::TextureId::get.

Calls MR_TextureId_get(). Some types are raw C types, see the C bindings for the details.

◆ id_()

int meshlib.TextureId.id_ ( )

◆ opDecr()

meshlib.TextureId meshlib.TextureId.opDecr ( )

Generated from method MR::TextureId::operator--.

Calls MR_decr_MR_TextureId().

◆ opEqual()

boolean meshlib.TextureId.opEqual ( meshlib.TextureId b)

Generated from method MR::TextureId::operator==.

Calls MR_equal_MR_TextureId().

◆ opIncr()

meshlib.TextureId meshlib.TextureId.opIncr ( )

Generated from method MR::TextureId::operator++.

Calls MR_incr_MR_TextureId().

◆ opLess()

boolean meshlib.TextureId.opLess ( meshlib.TextureId b)

Generated from method MR::TextureId::operator<.

Calls MR_less_MR_TextureId().

◆ opNotEqual()

boolean meshlib.TextureId.opNotEqual ( meshlib.TextureId b)

Generated from method MR::TextureId::operator!=.

Calls MR_not_equal_MR_TextureId().

◆ opPostDecr()

meshlib.TextureId meshlib.TextureId.opPostDecr ( )

Generated from method MR::TextureId::operator--.

Calls MR_post_decr_MR_TextureId().

◆ opPostIncr()

meshlib.TextureId meshlib.TextureId.opPostIncr ( )

Generated from method MR::TextureId::operator++.

Calls MR_post_incr_MR_TextureId().

◆ set()

void meshlib.TextureId.set ( TextureId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.TextureId.setId_ ( int value)

◆ sub_assign()

meshlib.TextureId meshlib.TextureId.sub_assign ( int a)

Generated from method MR::TextureId::operator-=. The reference to this object might be preserved in the return value.

Calls MR_TextureId_sub_assign().

◆ valid()

boolean meshlib.TextureId.valid ( )

Generated from method MR::TextureId::valid.

Calls MR_TextureId_valid().

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.TextureId.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static

The native layout of the struct.

◆ OFF_id_

final long meshlib.TextureId.OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))
static

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