Skip to content

LiteFX::Rendering::BarrierBuilder::setupGlobalBarrier

Sets up the resource access states to wait for and to continue with the barrier to be built.

Synopsis

Declared in <litefx/rendering_builders.hpp>

constexpr virtual void setupGlobalBarrier(
    ResourceAccess before,
    ResourceAccess after) = 0;

Parameters

NameDescription
beforeThe resource access state of all resources to wait for with this barrier.
afterThe resource access state of all resources to continue with after this barrier.