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

Public Member Functions

auto tasks () const -> *const *mut meshlib::ffi::MR_std_vector_std_shared_ptr_MR_BasicUiRenderTask
auto tasks_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_shared_ptr_MR_BasicUiRenderTask
void set_tasks (value:Option<&mut meshlib::std_vector_std_shared_ptr_MR_BasicUiRenderTask >)
auto view_matrix () const -> &meshlib::Matrix4f
auto proj_matrix () const -> &meshlib::Matrix4f
auto viewport_id () const -> &meshlib::ViewportId
auto viewport_id_mut () -> &mut meshlib::ViewportId
void set_viewport_id (value:meshlib::ViewportId)
auto viewport () const -> &meshlib::Vector4i
auto viewport_mut () -> &mut meshlib::Vector4i
void set_viewport (value:meshlib::Vector4i)
auto upcast_to_base_render_params () const -> &meshlib::BaseRenderParams
auto upcast_to_base_render_params_mut () -> &mut meshlib::BaseRenderParams

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::UiRenderParams) -> meshlib::Owned< meshlib::UiRenderParams >
static auto static_downcast_from_base_render_params (object:&meshlib::BaseRenderParams) -> &Self
static auto static_downcast_from_base_render_params_mut (object:&mut meshlib::BaseRenderParams) -> &mut Self
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

Generated from class MR::UiRenderParams. Base classes: Direct: (non-virtual) MR::BaseRenderParams

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

Member Function Documentation

◆ construct_from_another()

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

Generated from constructor MR::UiRenderParams::UiRenderParams.

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

◆ proj_matrix()

auto meshlib::UiRenderParams::proj_matrix ( ) const -> &meshlib::Matrix4f

Returns a pointer to a member variable of class MR::UiRenderParams named projMatrix.

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

◆ set_tasks()

void meshlib::UiRenderParams::set_tasks ( value:Option<&mut meshlib::std_vector_std_shared_ptr_MR_BasicUiRenderTask > )

Those are Z-sorted and then executed. Modifies a member variable of class MR::UiRenderParams named tasks.

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

◆ set_viewport()

void meshlib::UiRenderParams::set_viewport ( value:meshlib::Vector4i )

viewport x0, y0, width, height Modifies a member variable of class MR::UiRenderParams named viewport.

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

◆ set_viewport_id()

void meshlib::UiRenderParams::set_viewport_id ( value:meshlib::ViewportId )

id of the viewport Modifies a member variable of class MR::UiRenderParams named viewportId.

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

◆ static_downcast_from_base_render_params()

auto meshlib::UiRenderParams::static_downcast_from_base_render_params ( object:&meshlib::BaseRenderParams ) -> &Self
static

Static downcast from the base class MR::BaseRenderParams.

Calls MR_UiRenderParams_StaticDowncastFrom_MR_BaseRenderParams(). Undefined behavior if the object isn't actually a UiRenderParams.

Note
This function is unsafe.

◆ static_downcast_from_base_render_params_mut()

auto meshlib::UiRenderParams::static_downcast_from_base_render_params_mut ( object:&mut meshlib::BaseRenderParams ) -> &mut Self
static

Static downcast from the base class MR::BaseRenderParams.

Calls MR_UiRenderParams_MutableStaticDowncastFrom_MR_BaseRenderParams(). Undefined behavior if the object isn't actually a UiRenderParams.

Note
This function is unsafe.

◆ tasks()

auto meshlib::UiRenderParams::tasks ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_shared_ptr_MR_BasicUiRenderTask

Those are Z-sorted and then executed. Returns a pointer to a member variable of class MR::UiRenderParams named tasks.

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

◆ tasks_mut()

auto meshlib::UiRenderParams::tasks_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_shared_ptr_MR_BasicUiRenderTask

Those are Z-sorted and then executed. Returns a mutable pointer to a member variable of class MR::UiRenderParams named tasks.

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

◆ upcast_to_base_render_params()

auto meshlib::UiRenderParams::upcast_to_base_render_params ( ) const -> &meshlib::BaseRenderParams

Upcasts to the base class MR::BaseRenderParams.

Calls MR_UiRenderParams_UpcastTo_MR_BaseRenderParams().

◆ upcast_to_base_render_params_mut()

auto meshlib::UiRenderParams::upcast_to_base_render_params_mut ( ) -> &mut meshlib::BaseRenderParams

Upcasts to the base class MR::BaseRenderParams.

Calls MR_UiRenderParams_MutableUpcastTo_MR_BaseRenderParams().

◆ view_matrix()

auto meshlib::UiRenderParams::view_matrix ( ) const -> &meshlib::Matrix4f

Returns a pointer to a member variable of class MR::UiRenderParams named viewMatrix.

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

◆ viewport()

auto meshlib::UiRenderParams::viewport ( ) const -> &meshlib::Vector4i

viewport x0, y0, width, height Returns a pointer to a member variable of class MR::UiRenderParams named viewport.

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

◆ viewport_id()

auto meshlib::UiRenderParams::viewport_id ( ) const -> &meshlib::ViewportId

id of the viewport Returns a pointer to a member variable of class MR::UiRenderParams named viewportId.

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

◆ viewport_id_mut()

auto meshlib::UiRenderParams::viewport_id_mut ( ) -> &mut meshlib::ViewportId

id of the viewport Returns a mutable pointer to a member variable of class MR::UiRenderParams named viewportId.

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

◆ viewport_mut()

auto meshlib::UiRenderParams::viewport_mut ( ) -> &mut meshlib::Vector4i

viewport x0, y0, width, height Returns a mutable pointer to a member variable of class MR::UiRenderParams named viewport.

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


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