MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Run

Method Run

SampleFramework12/v1.00/App.cpp:52–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52int32 App::Run()
53{
54 try
55 {
56
57 Initialize_Internal();
58
59 AfterReset_Internal();
60
61 CreatePSOs_Internal();
62
63 while(window.IsAlive())
64 {
65 if(!window.IsMinimized())
66 {
67 Update_Internal();
68
69 Render_Internal();
70 }
71
72 window.MessageLoop();
73 }
74 }
75 catch(SampleFramework12::Exception exception)
76 {
77 exception.ShowErrorMessage();
78 return -1;
79 }
80
81 Shutdown_Internal();
82
83 return returnCode;
84}
85
86void App::CalculateFPS()
87{

Callers 1

wWinMainFunction · 0.45

Calls 4

IsAliveMethod · 0.80
IsMinimizedMethod · 0.80
MessageLoopMethod · 0.80
ShowErrorMessageMethod · 0.80

Tested by

no test coverage detected