pub fn request_surface_pick(world: &mut World, screen_pos: Vec2)Expand description
Requests a precise GPU pick at a window-space position, sampling the depth
and entity-id buffers. The position is mapped through the active viewport
rect (or the full window when none is set) and the render scale, so the
request lands on the correct render-target pixel at any render scale.
Nothing is requested when the position falls outside the viewport. The
result is not ready this frame. Read it next frame with
take_surface_pick.