Function TRAP::Graphics::RenderCommand::TextureBarrier#

Function Documentation#

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

Texture barrier used to synchronize and transition the texture.

Remark

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

Parameters:
  • textureBarrierTexture barrier to use.

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

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