Function TRAP::Graphics::RenderCommand::TextureBarriers#

Function Documentation#

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

Texture barrier used to synchronize and transition multiple textures.

Remark

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

Parameters:
  • textureBarriers – Texture barriers to use.

  • queueType – Queue type on which to perform the barrier operation. Default: Graphics.

  • window – Window to sync and transition textures for. Default: Main Window.