LiteFX::Rendering::Backends::DirectX12BarrierBuilder::setupBufferBarrier¶
Sets up the resource access states to wait for and to continue with for a specific buffer with the barrier to be built.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
[[dllexport]] virtual void setupBufferBarrier(
IBuffer& buffer,
ResourceAccess before,
ResourceAccess after) override;
Parameters¶
| Name | Description |
|---|---|
| buffer | The buffer for which the barrier blocks. |
| before | The resource access state of all resources to wait for with this barrier. |
| after | The resource access state of all resources to continue with after this barrier. |