LiteFX::Rendering::BarrierBuilder::ImageBarrierBuilder¶
A builder that sets up a resource barrier for a specific image.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
struct [[nodiscard]] ImageBarrierBuilder;
Member Functions¶
| Name | Description |
|---|---|
subresource | Specifies the sub-resource to block and transition when executing the barrier. |
transitionLayout | Specifies the layout to transition an image to when executing the barrier. |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::BarrierBuilder | Base class for a builder that builds a Barrier. |
Return Value¶
Note
The return value should not be discarded.
Template Parameters¶
| Name | Description |
|---|---|
| TParent | The type of the parent barrier builder. |