Navigation
API > API/Runtime > API/Runtime/RenderCore
Flags to annotate a pass with when calling AddPass.
| Name | ERDGPassFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphDefinitions.h |
| Include Path | #include "RenderGraphDefinitions.h" |
Syntax
enum ERDGPassFlags
{
None = 0,
Raster = 1 << 0,
Compute = 1 << 1,
AsyncCompute = 1 << 2,
Copy = 1 << 3,
NeverCull = 1 << 4,
SkipRenderPass = 1 << 5,
NeverMerge = 1 << 6,
NeverParallel = 1 << 7,
Readback = Copy | NeverCull,
}
Values
| Name | Remarks |
|---|---|
| None | Pass doesn't have any inputs or outputs tracked by the graph. |
| Raster | Pass uses rasterization on the graphics pipe. |
| Compute | Pass uses compute on the graphics pipe. |
| AsyncCompute | Pass uses compute on the async compute pipe. |
| Copy | Pass uses copy commands on the graphics pipe. |
| NeverCull | Pass (and its producers) will never be culled. Necessary if outputs cannot be tracked by the graph. |
| SkipRenderPass | Render pass begin / end is skipped and left to the user. |
| NeverMerge | Pass will never have its render pass merged with other passes. |
| NeverParallel | Pass will never run off the render thread. |
| Readback | Pass uses copy commands but writes to a staging resource. |