MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / handleMouseEvent

Method handleMouseEvent

Source/Falcor/Core/Testbed.cpp:263–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void Testbed::handleMouseEvent(const MouseEvent& mouseEvent)
264{
265 if (mpGui->onMouseEvent(mouseEvent))
266 return;
267 if (mMouseEventCallback && mMouseEventCallback(mouseEvent))
268 return;
269 if (mpRenderGraph && mpRenderGraph->onMouseEvent(mouseEvent))
270 return;
271 if (mpScene && mpScene->onMouseEvent(mouseEvent))
272 return;
273}
274
275void Testbed::handleGamepadEvent(const GamepadEvent& gamepadEvent)
276{

Callers 3

mouseMoveCallbackMethod · 0.45
mouseButtonCallbackMethod · 0.45
mouseWheelCallbackMethod · 0.45

Calls 1

onMouseEventMethod · 0.45

Tested by

no test coverage detected