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

Method ToggleFullScreen

SampleFramework12/v1.00/App.cpp:249–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void App::ToggleFullScreen(bool fullScreen)
250{
251 if(fullScreen != swapChain.FullScreen())
252 {
253 DestroyPSOs_Internal();
254
255 BeforeReset_Internal();
256
257 swapChain.SetFullScreen(fullScreen);
258 swapChain.Reset();
259
260 AfterReset_Internal();
261
262 CreatePSOs_Internal();
263 }
264}
265
266void App::DrawLog()
267{

Callers

nothing calls this directly

Calls 3

FullScreenMethod · 0.80
SetFullScreenMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected