Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include |
#include "DynamicRHI.h" |
FComputeFenceRHIRef RHICreateComputeFence
(
const FName & Name
)
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.
Parameter |
Description |
---|---|
Name |
Friendly name for the Fence. e.g. ReflectionEnvironmentComplete |