render_mode

Function render_mode 

Source
pub fn render_mode(
    wgt: &mut WidgetBuilding,
    mode: impl IntoValue<Option<RenderMode>>,
)
Expand description

B Render performance mode overwrite for this window, if set to None the WINDOWS.default_render_mode is used.

The view-process will try to match the mode, if it is not available a fallback mode is selected, see RenderMode for more details about each mode and fallbacks.

ยงMixin Property

This property is a mixin, it modifies the widget builder during build, it does not produce a standalone UI node.