LiteFX::Rendering::BarrierBuilder::ImageBarrierBuilder::transitionLayout¶
Specifies a layout transition for an image resource.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
constexpr ImageLayoutBarrierBuilder<TParent> transitionLayout(
ImageLayout fromLayout,
ImageLayout toLayout);Return Value¶
A builder that sets up the layout transition barrier for a set of sub-resources of a specific image.
Parameters¶
| Name | Description |
|---|---|
| fromLayout | The current layout of the image. |
| toLayout | The layout to transition an image to when executing the barrier. |