MCPcopy Create free account
hub / github.com/assimp/assimp / ToggleFPSView

Function ToggleFPSView

tools/assimp_view/MessageProc.cpp:242–246  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Toggle the "FPS" state -------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

240// Toggle the "FPS" state
241//-------------------------------------------------------------------------------
242void ToggleFPSView() {
243 g_bFPSView = !g_bFPSView;
244 SetupFPSView();
245 storeRegKey(g_bFPSView, "FPSView");
246}
247
248//-------------------------------------------------------------------------------
249// Toggle the "2 Light sources" state

Callers 2

MessageProcFunction · 0.85
_tWinMainFunction · 0.85

Calls 2

SetupFPSViewFunction · 0.85
storeRegKeyFunction · 0.85

Tested by

no test coverage detected