MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / submit_gpu_request

Method submit_gpu_request

src/picking.rs:53–64  ·  view source on GitHub ↗
(&mut self, instance_id: u64, cursor: Vec2, radius_px: f32)

Source from the content-addressed store, hash-verified

51
52impl PickingState {
53 fn submit_gpu_request(&mut self, instance_id: u64, cursor: Vec2, radius_px: f32) {
54 self.pick_seq = self.pick_seq.wrapping_add(1);
55 submit_request(
56 instance_id,
57 GpuPickRequest {
58 cursor_x: cursor.x,
59 cursor_y: cursor.y,
60 radius_px,
61 seq: self.pick_seq,
62 },
63 );
64 }
65
66 /// Request hover picking for the current cursor position.
67 ///

Callers 2

request_hoverMethod · 0.80
request_pick_hitMethod · 0.80

Calls 1

submit_requestFunction · 0.85

Tested by

no test coverage detected