MCPcopy Create free account
hub / github.com/PerroEngine/Perro / drop

Method drop

perro_source/runtime_project/perro_runtime/src/runtime.rs:870–879  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

868 }
869 }
870
871 /// Fold `effective_self_modulate` over `ids` and sum channels so the result
872 /// escapes optimization. Isolates the ancestor-walk cost (F1 microbench).
873 #[cfg(feature = "bench")]
874 pub fn bench_effective_self_modulate_sum(&self, ids: &[NodeID]) -> f32 {
875 let mut acc = 0.0f32;
876 for &id in ids {
877 let color = self.effective_self_modulate(id);
878 acc += color.r() + color.g() + color.b() + color.a();
879 }
880 acc
881 }
882

Callers

nothing calls this directly

Calls 3

append_instance_idsMethod · 0.80
run_callbacksFunction · 0.50

Tested by

no test coverage detected