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:
  • textureBarriersTexture barriers to use.

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

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