Function TRAP::Graphics::RenderCommand::RenderTargetBarriers#

Function Documentation#

void TRAP::Graphics::RenderCommand::RenderTargetBarriers(const std::vector<RendererAPI::RenderTargetBarrier> &renderTargetBarriers, const Window &window = *TRAP::Application::GetWindow())#

RenderTarget barrier used to synchronize and transition multiple RenderTargets.

Remark

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

Parameters:
  • renderTargetBarriersRenderTarget barriers to use.

  • windowWindow to sync and transition RenderTargets for. Default: Main Window.