MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / AfterReset

Method AfterReset

SampleFramework11/v1.02/App.cpp:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void App::AfterReset()
209{
210 const uint32 width = deviceManager.BackBufferWidth();
211 const uint32 height = deviceManager.BackBufferHeight();
212
213 TwHelper::SetSize(tweakBar, 375, deviceManager.BackBufferHeight());
214 TwHelper::SetPosition(tweakBar, deviceManager.BackBufferWidth() - 375, 0);
215}
216
217void App::ToggleFullScreen(bool fullScreen)
218{

Callers 1

OnWindowResizedMethod · 0.45

Calls 4

SetSizeFunction · 0.85
SetPositionFunction · 0.85
BackBufferWidthMethod · 0.80
BackBufferHeightMethod · 0.80

Tested by

no test coverage detected