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

Method apply_to_snapshot

perro_source/api_modules/perro_input_api/src/frame.rs:138–143  ·  view source on GitHub ↗
(&self, snapshot: &mut InputSnapshot)

Source from the content-addressed store, hash-verified

136 }
137
138 pub fn apply_to_snapshot(&self, snapshot: &mut InputSnapshot) {
139 snapshot.begin_frame();
140 for event in &self.events {
141 apply_event(snapshot, event);
142 }
143 }
144}
145
146pub struct InputRingBuffer {

Calls 2

apply_eventFunction · 0.85
begin_frameMethod · 0.45