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

Method OnDraw

examples/Cpp/ExampleBase/ExampleBase.cpp:313–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void ExampleBase::CanvasEventHandler::OnDraw(LLGL::Canvas& /*sender*/)
314{
315 app_.DrawFrame();
316 app_.input.Reset();
317 LLGL::Surface::ProcessEvents();
318}
319
320void ExampleBase::CanvasEventHandler::OnResize(LLGL::Canvas& /*sender*/, const LLGL::Extent2D& clientAreaSize)
321{

Callers

nothing calls this directly

Calls 2

DrawFrameMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected