MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::MeshAttributesToUpdate Struct Reference
Inheritance diagram for meshlib::MeshAttributesToUpdate:

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshAttributesToUpdate) -> &mut meshlib::MeshAttributesToUpdate
auto uv_coords () const -> *const *mut meshlib::ffi::MR_VertCoords2
auto uv_coords_mut () -> *mut *mut meshlib::ffi::MR_VertCoords2
void set_uv_coords (value:Option<&mut meshlib::VertCoords2 >)
auto color_map () const -> *const *mut meshlib::ffi::MR_VertColors
auto color_map_mut () -> *mut *mut meshlib::ffi::MR_VertColors
void set_color_map (value:Option<&mut meshlib::VertColors >)
auto texture_per_face () const -> *const *mut meshlib::ffi::MR_TexturePerFace
auto texture_per_face_mut () -> *mut *mut meshlib::ffi::MR_TexturePerFace
void set_texture_per_face (value:Option<&mut meshlib::TexturePerFace >)
auto face_colors () const -> *const *mut meshlib::ffi::MR_FaceColors
auto face_colors_mut () -> *mut *mut meshlib::ffi::MR_FaceColors
void set_face_colors (value:Option<&mut meshlib::FaceColors >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshAttributesToUpdate >
static auto construct_from (uvCoords:Option<&mut meshlib::VertCoords2 >, colorMap:Option<&mut meshlib::VertColors >, texturePerFace:Option<&mut meshlib::TexturePerFace >, faceColors:Option<&mut meshlib::FaceColors >) -> meshlib::Owned< meshlib::MeshAttributesToUpdate >
static auto construct_from_another (_other:&meshlib::MeshAttributesToUpdate) -> meshlib::Owned< meshlib::MeshAttributesToUpdate >
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

the attribute data of the mesh that needs to be updated Generated from class MR::MeshAttributesToUpdate.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ color_map()

auto meshlib::MeshAttributesToUpdate::color_map ( ) const -> *const *mut meshlib::ffi::MR_VertColors

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named colorMap.

Calls MR_MeshAttributesToUpdate_Get_colorMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ color_map_mut()

auto meshlib::MeshAttributesToUpdate::color_map_mut ( ) -> *mut *mut meshlib::ffi::MR_VertColors

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named colorMap.

Calls MR_MeshAttributesToUpdate_GetMutable_colorMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::MeshAttributesToUpdate::construct_from ( uvCoords:Option<&mut meshlib::VertCoords2 > ,
colorMap:Option<&mut meshlib::VertColors > ,
texturePerFace:Option<&mut meshlib::TexturePerFace > ,
faceColors:Option<&mut meshlib::FaceColors >  ) -> meshlib::Owned< meshlib::MeshAttributesToUpdate >
static

Constructs MR::MeshAttributesToUpdate elementwise.

Calls MR_MeshAttributesToUpdate_ConstructFrom(). The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colorMap might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshAttributesToUpdate::MeshAttributesToUpdate.

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

◆ face_colors()

auto meshlib::MeshAttributesToUpdate::face_colors ( ) const -> *const *mut meshlib::ffi::MR_FaceColors

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named faceColors.

Calls MR_MeshAttributesToUpdate_Get_faceColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ face_colors_mut()

auto meshlib::MeshAttributesToUpdate::face_colors_mut ( ) -> *mut *mut meshlib::ffi::MR_FaceColors

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named faceColors.

Calls MR_MeshAttributesToUpdate_GetMutable_faceColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshAttributesToUpdate_DefaultConstruct().

◆ set_color_map()

void meshlib::MeshAttributesToUpdate::set_color_map ( value:Option<&mut meshlib::VertColors > )

Modifies a member variable of class MR::MeshAttributesToUpdate named colorMap.

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

◆ set_face_colors()

void meshlib::MeshAttributesToUpdate::set_face_colors ( value:Option<&mut meshlib::FaceColors > )

Modifies a member variable of class MR::MeshAttributesToUpdate named faceColors.

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

◆ set_texture_per_face()

void meshlib::MeshAttributesToUpdate::set_texture_per_face ( value:Option<&mut meshlib::TexturePerFace > )

Modifies a member variable of class MR::MeshAttributesToUpdate named texturePerFace.

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

◆ set_uv_coords()

void meshlib::MeshAttributesToUpdate::set_uv_coords ( value:Option<&mut meshlib::VertCoords2 > )

Modifies a member variable of class MR::MeshAttributesToUpdate named uvCoords.

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

◆ texture_per_face()

auto meshlib::MeshAttributesToUpdate::texture_per_face ( ) const -> *const *mut meshlib::ffi::MR_TexturePerFace

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named texturePerFace.

Calls MR_MeshAttributesToUpdate_Get_texturePerFace(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ texture_per_face_mut()

auto meshlib::MeshAttributesToUpdate::texture_per_face_mut ( ) -> *mut *mut meshlib::ffi::MR_TexturePerFace

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named texturePerFace.

Calls MR_MeshAttributesToUpdate_GetMutable_texturePerFace(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ uv_coords()

auto meshlib::MeshAttributesToUpdate::uv_coords ( ) const -> *const *mut meshlib::ffi::MR_VertCoords2

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named uvCoords.

Calls MR_MeshAttributesToUpdate_Get_uvCoords(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ uv_coords_mut()

auto meshlib::MeshAttributesToUpdate::uv_coords_mut ( ) -> *mut *mut meshlib::ffi::MR_VertCoords2

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named uvCoords.

Calls MR_MeshAttributesToUpdate_GetMutable_uvCoords(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.


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