pub fn script_runtime_set_max_operations(runtime: &mut ScriptRuntime, max: u64)Expand description
Sets the rhai operation budget per script call. The default is conservative to bound an untrusted script; a trusted creative driver, where a script may draw thousands of shapes a frame, raises it. 0 removes the limit.