Skip to main content

interp_current_viewport

Function interp_current_viewport 

Source
fn interp_current_viewport(
    _args: &[RValue],
    _named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Return the current (topmost) viewport.

@return the current viewport object, or a default root viewport