LiteFX::Rendering::Backends::DirectX12Barrier¶
Implements a DirectX 12 resource barrier.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
class [[dllimport, dllexport]] DirectX12Barrier final
: public Barrier<IDirectX12Buffer, IDirectX12Image>
Base Classes¶
| Name | Description |
|---|---|
Barrier<IDirectX12Buffer, IDirectX12Image> | A barrier used for GPU resource synchronization. |
Type Aliases¶
Member Functions¶
| Name | Description |
|---|---|
DirectX12Barrier [constructor] | Initializes a new DirectX 12 barrier. |
~DirectX12Barrier [destructor] [virtual] | Destructor |
operator= | Assignment operators |
execute | Adds the barrier to a command buffer and updates the resource target states. |
syncAfter [virtual] | Returns the stage all subsequent commands need to wait for before continuing execution. |
syncBefore [virtual] | Returns the stage that all previous commands need to reach before continuing execution. |
transition | transition overloads |
wait [virtual] | Inserts a global barrier that waits for previous commands to finish accesses described by accessBefore before subsequent commands can continue with accesses described by accessAfter. |
Using Declarations¶
| Name |
|---|
transition |
Protected Member Functions¶
| Name | Description |
|---|---|
operator= | Assignment operators |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::Backends::DirectX12BarrierBuilder | Builds a DirectX 12 Barrier. |
LiteFX::Rendering::Backends::DirectX12Barrier::DirectX12BarrierImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |
See Also¶
DirectX12CommandBuffer
IDirectX12Buffer
IDirectX12Image
Barrier