Function TRAP::Graphics::RenderCommand::Flush#
Function Documentation#
-
void TRAP::Graphics::RenderCommand::Flush(const Window &window = *TRAP::Application::GetWindow())#
Flush renderer for the given window.
Stops graphics and compute recording.
Submits the graphics and compute commands.
Presents the rendered image to the screen.
Starts graphics and compute recording for the next frame.
Remark
Headless mode: This function is not available in headless mode.
Note
TRAP::Application automatically flushes for the main window.