Skip to content

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

NameDescription
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

NameDescription
LiteFX::Rendering::BarrierBuilderBase class for a builder that builds a Barrier.

Return Value

Note

The return value should not be discarded.

Template Parameters

NameDescription
TParentThe type of the parent barrier builder.