MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::Dirty:

Public Member Functions

auto convert_to_unsigned_int_ref () -> &mut core::ffi::c_uint
auto convert_to_unsigned_int () const -> core::ffi::c_uint
auto assign_from_another (_other:&meshlib::Dirty) -> &mut meshlib::Dirty
auto assign (b:core::ffi::c_uint) -> &mut meshlib::Dirty
auto f () const -> &core::ffi::c_uint
auto f_mut () -> &mut core::ffi::c_uint
void set_f (value:core::ffi::c_uint)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Dirty >
static auto construct_from_another (_other:&meshlib::Dirty) -> meshlib::Owned< meshlib::Dirty >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

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.

Generated from class MR::Dirty. Heap-allocated instances are held in Owned<Dirty>.

Member Function Documentation

◆ assign()

auto meshlib::Dirty::assign ( b:core::ffi::c_uint ) -> &mut meshlib::Dirty

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

Calls MR_Dirty_assign(). The reference to this object might be preserved in the return value.

◆ assign_from_another()

auto meshlib::Dirty::assign_from_another ( _other:&meshlib::Dirty ) -> &mut meshlib::Dirty

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

Calls MR_Dirty_AssignFromAnother(). 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.

◆ construct_from_another()

auto meshlib::Dirty::construct_from_another ( _other:&meshlib::Dirty ) -> meshlib::Owned< meshlib::Dirty >
static

Generated from constructor MR::Dirty::Dirty.

Calls MR_Dirty_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ convert_to_unsigned_int()

auto meshlib::Dirty::convert_to_unsigned_int ( ) const -> core::ffi::c_uint

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

Calls MR_Dirty_ConvertTo_unsigned_int().

◆ convert_to_unsigned_int_ref()

auto meshlib::Dirty::convert_to_unsigned_int_ref ( ) -> &mut core::ffi::c_uint

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

Calls MR_Dirty_ConvertTo_unsigned_int_ref().

◆ f()

auto meshlib::Dirty::f ( ) const -> &core::ffi::c_uint

Returns a pointer to a member variable of class MR::Dirty named f.

Calls MR_Dirty_Get_f(). The reference to this object might be preserved as the return value.

◆ f_mut()

auto meshlib::Dirty::f_mut ( ) -> &mut core::ffi::c_uint

Returns a mutable pointer to a member variable of class MR::Dirty named f.

Calls MR_Dirty_GetMutable_f(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::Dirty::new ( ) -> meshlib::Owned< meshlib::Dirty >
static

Constructs an empty (default-constructed) instance.

Calls MR_Dirty_DefaultConstruct().

◆ set_f()

void meshlib::Dirty::set_f ( value:core::ffi::c_uint )

Modifies a member variable of class MR::Dirty named f.

Calls MR_Dirty_Set_f(). The reference to the parameter value might be preserved in this object in element f.


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