Function TRAP::Graphics::RenderCommand::BufferBarriers#

Function Documentation#

void TRAP::Graphics::RenderCommand::BufferBarriers(const std::vector<RendererAPI::BufferBarrier> &bufferBarriers, QueueType queueType = QueueType::Graphics, const Window &window = *TRAP::Application::GetWindow())#

Buffer barrier used to synchronize and transition multiple buffers.

Remark

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

Parameters:
  • bufferBarriersBuffer barriers to use.

  • queueTypeQueue type on which to perform the barrier operation. Default: Graphics.

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