LiteFX::Rendering::BarrierBuilder::ImageBarrierBuilder::transitionLayout¶
transitionLayout overloads
Synopses¶
Declared in <litefx/rendering_builders.hpp>
Specifies the layout to transition an image to when executing the barrier.
constexpr ImageLayoutBarrierBuilder<TParent> transitionLayout(ImageLayout toLayout);Specifies a layout transition for an image resource.
constexpr ImageLayoutBarrierBuilder<TParent> transitionLayout(
ImageLayout fromLayout,
ImageLayout toLayout);Parameters¶
| Name | Description |
|---|---|
| toLayout | The layout to transition an image to when executing the barrier. |
| fromLayout | The current layout of the image. |