Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include | #include "DynamicRHI.h" |
FComputeFenceRHIRef RHICreateComputeFence
&40;
const FName & Name
&41;
Remarks
Creates a compute fence. Compute fences are named GPU fences which can be written to once before resetting. A command to write the fence must be enqueued before any commands to wait on them. This is enforced on the CPU to avoid GPU hangs. The new Fence.
Parameters
| Name | Description |
|---|---|
| Name | Friendly name for the Fence. e.g. ReflectionEnvironmentComplete |