Static Public Member Functions | |
| static auto | construct_from_another (_other:&meshlib::ModelRenderParams) -> meshlib::Owned< meshlib::ModelRenderParams > |
| 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 auto | static_downcast_from_model_base_render_params (object:&meshlib::ModelBaseRenderParams) -> &Self |
| static auto | static_downcast_from_model_base_render_params_mut (object:&mut meshlib::ModelBaseRenderParams) -> &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 |
Mesh rendering parameters for primary rendering (as opposed to the picker). Generated from class MR::ModelRenderParams. Base classes: Direct: (non-virtual) MR::ModelBaseRenderParams Indirect: (non-virtual) MR::BaseRenderParams
Generated from class MR::ModelRenderParams. Heap-allocated instances are held in Owned<ModelRenderParams>.
| auto meshlib::ModelRenderParams::clip_plane | ( | ) | const -> &meshlib::Plane3f |
viewport clip plane (it is not applied while object does not have clipping flag set) Returns a pointer to a member variable of class MR::ModelRenderParams named clipPlane.
Calls MR_ModelRenderParams_Get_clipPlane(). The reference to this object might be preserved as the return value.
|
static |
Generated from constructor MR::ModelRenderParams::ModelRenderParams.
Calls MR_ModelRenderParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ModelRenderParams::depth_function | ( | ) | const -> &meshlib::DepthFunction |
Returns a pointer to a member variable of class MR::ModelRenderParams named depthFunction.
Calls MR_ModelRenderParams_Get_depthFunction(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::depth_function_mut | ( | ) | -> &mut meshlib::DepthFunction |
Returns a mutable pointer to a member variable of class MR::ModelRenderParams named depthFunction.
Calls MR_ModelRenderParams_GetMutable_depthFunction(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::light_pos | ( | ) | const -> &meshlib::Vector3f |
position of light source Returns a pointer to a member variable of class MR::ModelRenderParams named lightPos.
Calls MR_ModelRenderParams_Get_lightPos(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::light_pos_mut | ( | ) | -> &mut meshlib::Vector3f |
position of light source Returns a mutable pointer to a member variable of class MR::ModelRenderParams named lightPos.
Calls MR_ModelRenderParams_GetMutable_lightPos(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::model_matrix | ( | ) | const -> &meshlib::Matrix4f |
Returns a pointer to a member variable of class MR::ModelRenderParams named modelMatrix.
Calls MR_ModelRenderParams_Get_modelMatrix(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::norm_matrix_ptr | ( | ) | const -> *const *const meshlib::Matrix4f |
normal matrix, only necessary for triangles rendering Returns a pointer to a member variable of class MR::ModelRenderParams named normMatrixPtr.
Calls MR_ModelRenderParams_Get_normMatrixPtr(). 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.
| auto meshlib::ModelRenderParams::norm_matrix_ptr_mut | ( | ) | -> *mut *const meshlib::Matrix4f |
normal matrix, only necessary for triangles rendering Returns a mutable pointer to a member variable of class MR::ModelRenderParams named normMatrixPtr.
Calls MR_ModelRenderParams_GetMutable_normMatrixPtr(). 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.
| auto meshlib::ModelRenderParams::pass_mask | ( | ) | const -> &meshlib::RenderModelPassMask |
Only perform rendering if bool( passMask & desiredPass ) is true. Returns a pointer to a member variable of class MR::ModelRenderParams named passMask.
Calls MR_ModelRenderParams_Get_passMask(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::pass_mask_mut | ( | ) | -> &mut meshlib::RenderModelPassMask |
Only perform rendering if bool( passMask & desiredPass ) is true. Returns a mutable pointer to a member variable of class MR::ModelRenderParams named passMask.
Calls MR_ModelRenderParams_GetMutable_passMask(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::proj_matrix | ( | ) | const -> &meshlib::Matrix4f |
Returns a pointer to a member variable of class MR::ModelRenderParams named projMatrix.
Calls MR_ModelRenderParams_Get_projMatrix(). The reference to this object might be preserved as the return value.
| void meshlib::ModelRenderParams::set_depth_function | ( | value:meshlib::DepthFunction | ) |
Modifies a member variable of class MR::ModelRenderParams named depthFunction.
Calls MR_ModelRenderParams_Set_depthFunction(). The reference to the parameter value might be preserved in this object in element depthFunction.
| void meshlib::ModelRenderParams::set_light_pos | ( | value:meshlib::Vector3f | ) |
position of light source Modifies a member variable of class MR::ModelRenderParams named lightPos.
Calls MR_ModelRenderParams_Set_lightPos(). The reference to the parameter value might be preserved in this object in element lightPos.
| void meshlib::ModelRenderParams::set_norm_matrix_ptr | ( | value:Option<&meshlib::Matrix4f > | ) |
normal matrix, only necessary for triangles rendering Modifies a member variable of class MR::ModelRenderParams named normMatrixPtr.
Calls MR_ModelRenderParams_Set_normMatrixPtr(). The reference to the parameter value might be preserved in this object in element normMatrixPtr.
| void meshlib::ModelRenderParams::set_pass_mask | ( | value:meshlib::RenderModelPassMask | ) |
Only perform rendering if bool( passMask & desiredPass ) is true. Modifies a member variable of class MR::ModelRenderParams named passMask.
Calls MR_ModelRenderParams_Set_passMask(). The reference to the parameter value might be preserved in this object in element passMask.
| void meshlib::ModelRenderParams::set_transparency_mode | ( | value:&meshlib::TransparencyMode | ) |
determines how to handle transparent models Modifies a member variable of class MR::ModelRenderParams named transparencyMode.
Calls MR_ModelRenderParams_Set_transparencyMode(). The reference to the parameter value might be preserved in this object in element transparencyMode.
| void meshlib::ModelRenderParams::set_viewport | ( | value:meshlib::Vector4i | ) |
viewport x0, y0, width, height Modifies a member variable of class MR::ModelRenderParams named viewport.
Calls MR_ModelRenderParams_Set_viewport(). The reference to the parameter value might be preserved in this object in element viewport.
| void meshlib::ModelRenderParams::set_viewport_id | ( | value:meshlib::ViewportId | ) |
id of the viewport Modifies a member variable of class MR::ModelRenderParams named viewportId.
Calls MR_ModelRenderParams_Set_viewportId(). The reference to the parameter value might be preserved in this object in element viewportId.
|
static |
Static downcast from the base class MR::BaseRenderParams.
Calls MR_ModelRenderParams_StaticDowncastFrom_MR_BaseRenderParams(). Undefined behavior if the object isn't actually a ModelRenderParams.
|
static |
Static downcast from the base class MR::BaseRenderParams.
Calls MR_ModelRenderParams_MutableStaticDowncastFrom_MR_BaseRenderParams(). Undefined behavior if the object isn't actually a ModelRenderParams.
|
static |
Static downcast from the base class MR::ModelBaseRenderParams.
Calls MR_ModelRenderParams_StaticDowncastFrom_MR_ModelBaseRenderParams(). Undefined behavior if the object isn't actually a ModelRenderParams.
|
static |
Static downcast from the base class MR::ModelBaseRenderParams.
Calls MR_ModelRenderParams_MutableStaticDowncastFrom_MR_ModelBaseRenderParams(). Undefined behavior if the object isn't actually a ModelRenderParams.
| auto meshlib::ModelRenderParams::transparency_mode | ( | ) | const -> &meshlib::TransparencyMode |
determines how to handle transparent models Returns a pointer to a member variable of class MR::ModelRenderParams named transparencyMode.
Calls MR_ModelRenderParams_Get_transparencyMode(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::transparency_mode_mut | ( | ) | -> &mut meshlib::TransparencyMode |
determines how to handle transparent models Returns a mutable pointer to a member variable of class MR::ModelRenderParams named transparencyMode.
Calls MR_ModelRenderParams_GetMutable_transparencyMode(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::upcast_to_base_render_params | ( | ) | const -> &meshlib::BaseRenderParams |
Upcasts to the base class MR::BaseRenderParams.
Calls MR_ModelRenderParams_UpcastTo_MR_BaseRenderParams().
| auto meshlib::ModelRenderParams::upcast_to_base_render_params_mut | ( | ) | -> &mut meshlib::BaseRenderParams |
Upcasts to the base class MR::BaseRenderParams.
Calls MR_ModelRenderParams_MutableUpcastTo_MR_BaseRenderParams().
| auto meshlib::ModelRenderParams::upcast_to_model_base_render_params | ( | ) | const -> &meshlib::ModelBaseRenderParams |
Upcasts to the base class MR::ModelBaseRenderParams.
Calls MR_ModelRenderParams_UpcastTo_MR_ModelBaseRenderParams().
| auto meshlib::ModelRenderParams::upcast_to_model_base_render_params_mut | ( | ) | -> &mut meshlib::ModelBaseRenderParams |
Upcasts to the base class MR::ModelBaseRenderParams.
Calls MR_ModelRenderParams_MutableUpcastTo_MR_ModelBaseRenderParams().
| auto meshlib::ModelRenderParams::view_matrix | ( | ) | const -> &meshlib::Matrix4f |
Returns a pointer to a member variable of class MR::ModelRenderParams named viewMatrix.
Calls MR_ModelRenderParams_Get_viewMatrix(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::viewport | ( | ) | const -> &meshlib::Vector4i |
viewport x0, y0, width, height Returns a pointer to a member variable of class MR::ModelRenderParams named viewport.
Calls MR_ModelRenderParams_Get_viewport(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::viewport_id | ( | ) | const -> &meshlib::ViewportId |
id of the viewport Returns a pointer to a member variable of class MR::ModelRenderParams named viewportId.
Calls MR_ModelRenderParams_Get_viewportId(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::viewport_id_mut | ( | ) | -> &mut meshlib::ViewportId |
id of the viewport Returns a mutable pointer to a member variable of class MR::ModelRenderParams named viewportId.
Calls MR_ModelRenderParams_GetMutable_viewportId(). The reference to this object might be preserved as the return value.
| auto meshlib::ModelRenderParams::viewport_mut | ( | ) | -> &mut meshlib::Vector4i |
viewport x0, y0, width, height Returns a mutable pointer to a member variable of class MR::ModelRenderParams named viewport.
Calls MR_ModelRenderParams_GetMutable_viewport(). The reference to this object might be preserved as the return value.