Skip to content

LiteFX::Rendering::Backends::DirectX12BarrierBuilder::setupGlobalBarrier

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

Synopsis

Declared in <litefx/backends/dx12_builders.hpp>

[[dllexport]] virtual void setupGlobalBarrier(
    ResourceAccess before,
    ResourceAccess after) override;

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.