Function TRAP::Graphics::RenderCommand::StartRenderPass#

Function Documentation#

void TRAP::Graphics::RenderCommand::StartRenderPass(const Window &window = *TRAP::Application::GetWindow())#

Start a new render pass for the given window.

Remark

Headless mode: This function is not available in headless mode.

Note

This will rebind the render target for the current frame.

Parameters:

windowWindow to start render pass for. Default: Main Window.