Navigation
API > API/Runtime > API/Runtime/RenderCore
Barrier location controls where the barrier is 'Ended' relative to the pass lambda being executed. Most barrier locations are done in the prologue prior to the executing lambda. But certain cases like an aliasing discard operation need to be done after the pass being invoked. Therefore, when adding a transition the user can specify where to place the barrier.
| Name | ERDGBarrierLocation |
| Type | enum |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphResources.h |
| Include Path | #include "RenderGraphResources.h" |
Syntax
enum ERDGBarrierLocation
{
Prologue,
Epilogue,
}
Values
| Name | Remarks |
|---|---|
| Prologue | The barrier occurs in the prologue of the pass (before execution). |
| Epilogue | The barrier occurs in the epilogue of the pass (after execution). |