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

Public Member Functions

auto assign_from_another (_other:&meshlib::TransparencyMode) -> &mut meshlib::TransparencyMode
auto is_alpha_sort_enabled () const -> bool
auto is_depth_peeling_enabled () const -> bool
auto get_bg_depth_peeling_depth_texture_id () const -> core::ffi::c_uint
auto get_fg_depth_peeling_color_texture_id () const -> core::ffi::c_uint
auto get_fg_depth_peeling_depth_texture_id () const -> core::ffi::c_uint

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::TransparencyMode >
static auto construct_from_another (_other:&meshlib::TransparencyMode) -> meshlib::Owned< meshlib::TransparencyMode >
static auto construct_1 (alphaSort:bool) -> meshlib::Owned< meshlib::TransparencyMode >
static auto construct_3 (bgDepthTexId:core::ffi::c_uint, fgColorTexId:core::ffi::c_uint, fgDepthTexId:core::ffi::c_uint) -> meshlib::Owned< meshlib::TransparencyMode >
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

struct to determine transparent rendering mode Generated from class MR::TransparencyMode.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_1()

auto meshlib::TransparencyMode::construct_1 ( alphaSort:bool ) -> meshlib::Owned< meshlib::TransparencyMode >
static

Generated from constructor MR::TransparencyMode::TransparencyMode.

Calls MR_TransparencyMode_Construct_1().

◆ construct_3()

auto meshlib::TransparencyMode::construct_3 ( bgDepthTexId:core::ffi::c_uint ,
fgColorTexId:core::ffi::c_uint ,
fgDepthTexId:core::ffi::c_uint  ) -> meshlib::Owned< meshlib::TransparencyMode >
static

Generated from constructor MR::TransparencyMode::TransparencyMode.

Calls MR_TransparencyMode_Construct_3(). The reference to the parameter bgDepthTexId might be preserved in the constructed object. The reference to the parameter fgColorTexId might be preserved in the constructed object. The reference to the parameter fgDepthTexId might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::TransparencyMode::TransparencyMode.

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

◆ get_bg_depth_peeling_depth_texture_id()

auto meshlib::TransparencyMode::get_bg_depth_peeling_depth_texture_id ( ) const -> core::ffi::c_uint

Generated from method MR::TransparencyMode::getBGDepthPeelingDepthTextureId.

Calls MR_TransparencyMode_getBGDepthPeelingDepthTextureId().

◆ get_fg_depth_peeling_color_texture_id()

auto meshlib::TransparencyMode::get_fg_depth_peeling_color_texture_id ( ) const -> core::ffi::c_uint

Generated from method MR::TransparencyMode::getFGDepthPeelingColorTextureId.

Calls MR_TransparencyMode_getFGDepthPeelingColorTextureId().

◆ get_fg_depth_peeling_depth_texture_id()

auto meshlib::TransparencyMode::get_fg_depth_peeling_depth_texture_id ( ) const -> core::ffi::c_uint

Generated from method MR::TransparencyMode::getFGDepthPeelingDepthTextureId.

Calls MR_TransparencyMode_getFGDepthPeelingDepthTextureId().

◆ is_alpha_sort_enabled()

auto meshlib::TransparencyMode::is_alpha_sort_enabled ( ) const -> bool

Generated from method MR::TransparencyMode::isAlphaSortEnabled.

Calls MR_TransparencyMode_isAlphaSortEnabled().

◆ is_depth_peeling_enabled()

auto meshlib::TransparencyMode::is_depth_peeling_enabled ( ) const -> bool

Generated from method MR::TransparencyMode::isDepthPeelingEnabled.

Calls MR_TransparencyMode_isDepthPeelingEnabled().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TransparencyMode_DefaultConstruct().


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