Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ renderAllBelow()

void Flint::StateManager::renderAllBelow ( GPURenderer & gpuRenderer,
IWindow & window,
State * topState ) const

Render all states below topState in bottom-up order.

Useful for transparent or overlay states that need the state beneath them to be visible.

Parameters
gpuRendererThe renderer passed to each state's render call.
windowActive window passed to each state's render call.
topStateThe state to stop at (it is not rendered by this call).