Function TRAP::Graphics::RenderCommand::BufferBarrier#

Function Documentation#

void TRAP::Graphics::RenderCommand::BufferBarrier(const RendererAPI::BufferBarrier &bufferBarrier, QueueType queueType = QueueType::Graphics, const Window &window = *TRAP::Application::GetWindow())#

Buffer barrier used to synchronize and transition the buffer.

Remark

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

Parameters:
  • bufferBarrierBuffer barrier to use.

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

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