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

Public Member Functions

 Dirty (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Dirty ()
 Dirty (meshlib.Dirty _other)
java.lang.foreign.MemorySegment convertTo_unsigned_int_ref ()
int convertTo_unsigned_int ()
meshlib.Dirty assignFromAnother (meshlib.Dirty _other)
meshlib.Dirty assign (int b)
int f ()
void setF (int value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Marks dirty buffers that need to be uploaded to OpenGL. Dirty flags must be moved together with renderObj_, but not copied since renderObj_ is not copied as well Generated from class MR::Dirty.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Dirty() [1/3]

meshlib.Dirty.Dirty ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ Dirty() [2/3]

meshlib.Dirty.Dirty ( )

Constructs an empty (default-constructed) instance.

Calls MR_Dirty_DefaultConstruct().

◆ Dirty() [3/3]

meshlib.Dirty.Dirty ( meshlib.Dirty _other)

Generated from constructor MR::Dirty::Dirty. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Dirty_ConstructFromAnother().

Member Function Documentation

◆ assign()

meshlib.Dirty meshlib.Dirty.assign ( int b)

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

Calls MR_Dirty_assign().

◆ assignFromAnother()

meshlib.Dirty meshlib.Dirty.assignFromAnother ( meshlib.Dirty _other)

Generated from method MR::Dirty::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

Calls MR_Dirty_AssignFromAnother().

◆ convertTo_unsigned_int()

int meshlib.Dirty.convertTo_unsigned_int ( )

Generated from conversion operator MR::Dirty::operator unsigned int.

Calls MR_Dirty_ConvertTo_unsigned_int().

◆ convertTo_unsigned_int_ref()

java.lang.foreign.MemorySegment meshlib.Dirty.convertTo_unsigned_int_ref ( )

Generated from conversion operator MR::Dirty::operator unsigned int &.

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

◆ f()

int meshlib.Dirty.f ( )

Returns a pointer to a member variable of class MR::Dirty named f. The reference to this object might be preserved as the return value.

Calls MR_Dirty_Get_f().

◆ setF()

void meshlib.Dirty.setF ( int value)

Modifies a member variable of class MR::Dirty named f. The reference to the parameter value might be preserved in this object in element f.

Calls MR_Dirty_Set_f().


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