NVIDIA Holoscan SDK v2.7.0
Holoscan v2.7.0

Function holoscan::viz::SetScrollCallback

void holoscan::viz::SetScrollCallback(void *user_pointer, ScrollCallbackFunction callback)

Set the scroll callback. The callback function is called when a scrolling device is used, such as a mouse scroll wheel or the scroll area of a touch pad.

Parameters
  • user_pointer – user pointer value to be passed to the callback

  • callback – the new cursor callback or nullptr to remove the current callback

Previous Function holoscan::viz::SetPresentMode
Next Function holoscan::viz::SetSurfaceFormat
© Copyright 2022-2024, NVIDIA. Last updated on Dec 2, 2024.