Skip to content

LiteFX::Rendering::BarrierBuilder::ImageBarrierBuilder::transitionLayout

Specifies the layout to transition an image to when executing the barrier.

Synopsis

Declared in <litefx/rendering_builders.hpp>

constexpr ImageLayoutBarrierBuilder<TParent> transitionLayout(ImageLayout layout);

Return Value

A builder that sets up the layout transition barrier for a set of sub-resources of a specific image.

Parameters

NameDescription
layoutThe layout to transition an image to when executing the barrier.