MCPcopy Create free account
hub / github.com/LukasBanana/LLGL / DrawFrame

Method DrawFrame

examples/Cpp/ExampleBase/ExampleBase.cpp:434–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void ExampleBase::DrawFrame()
435{
436 if (IsDrawable())
437 {
438 // Draw frame in respective example project
439 OnDrawFrame();
440
441 #ifndef LLGL_OS_IOS
442 // Present the result on the screen - cannot be explicitly invoked on mobile platforms
443 swapChain->Present();
444 #endif
445 }
446}
447
448void ExampleBase::Resize(const LLGL::Extent2D& clientAreaSize)
449{

Callers 2

OnUpdateMethod · 0.80
OnDrawMethod · 0.80

Calls 2

OnDrawFrameFunction · 0.85
PresentMethod · 0.65

Tested by

no test coverage detected