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 toLayout);

Description

Note that this method assumes a transition from ImageLayout::Common.

Return Value

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

Parameters

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