FVulkanDynamicRHI::RHICreateComputeFence

FlushType: Thread safe, but varies depending on the RHI.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHICreateComputeFence()

FVulkanDynamicRHI::RHICreateComputeFence()

References

Module

VulkanRHI

Header

/Engine/Source/Runtime/VulkanRHI/Public/VulkanDynamicRHI.h

Include

#include "VulkanDynamicRHI.h"

Source

/Engine/Source/Runtime/VulkanRHI/Private/VulkanUAV.cpp

Syntax

virtual FComputeFenceRHIRef RHICreateComputeFence
(
    const FName & Name
)

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.

Returns

The new Fence.

Parameters

Parameter

Description

Name

Friendly name for the Fence. e.g. ReflectionEnvironmentComplete

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss