MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXNTC / MouseButtonUpdate

Method MouseButtonUpdate

tools/explorer/NtcExplorer.cpp:1057–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055 }
1056
1057 bool MouseButtonUpdate(int button, int action, int mods) override
1058 {
1059 if (ImGui_Renderer::MouseButtonUpdate(button, action, mods))
1060 return true;
1061
1062 if (IsModelViewActive())
1063 return m_modelView->MouseButtonUpdate(button, action, mods);
1064
1065 return m_flatImageView->MouseButtonUpdate(button, action, mods);
1066 }
1067
1068 bool MouseScrollUpdate(double xoffset, double yoffset) override
1069 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected