Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHICommandListBase
Description
Adds a graph event as a dispatch dependency. The command list will not be dispatched to the RHI / parallel translate threads until all its dispatch prerequisites have been completed.
Not safe to call after FinishRecording().
| Name | AddDispatchPrerequisite |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include Path | #include "RHICommandList.h" |
| Source | /Engine/Source/Runtime/RHI/Private/RHICommandList.cpp |
void AddDispatchPrerequisite
(
const FGraphEventRef & Prereq
)