MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Present

Method Present

Source/Engine/Graphics/GPUSwapChain.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void GPUSwapChain::Present(bool vsync)
90{
91 // Check if need to show the window after the 1st paint
92 if (_window->_showAfterFirstPaint)
93 {
94 _window->_showAfterFirstPaint = false;
95 _window->Show();
96 }
97
98 // Count amount of present calls
99 _presentCount++;
100}
101
102String GPUSwapChain::ToString() const
103{

Callers 2

OnPresentMethod · 0.45
WndProcMethod · 0.45

Calls 1

ShowMethod · 0.45

Tested by

no test coverage detected