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

Method handleMouseEvent

Source/Falcor/Core/SampleApp.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void SampleApp::handleMouseEvent(const MouseEvent& mouseEvent)
256{
257 if (mShowUI && mpGui->onMouseEvent(mouseEvent))
258 return;
259 mInputState.onMouseEvent(mouseEvent);
260 if (onMouseEvent(mouseEvent))
261 return;
262 if (mpPixelZoom->onMouseEvent(mouseEvent))
263 return;
264}
265
266void SampleApp::handleGamepadEvent(const GamepadEvent& gamepadEvent)
267{

Callers

nothing calls this directly

Calls 2

onMouseEventFunction · 0.70
onMouseEventMethod · 0.45

Tested by

no test coverage detected