FFenceManager

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

Syntax

class FFenceManager

Variables

Name Description

Protected variable

FVulkanDevice &...

 

Device

Protected variable

TArray< FFence ...

 

FreeFences

Protected variable

TArray< FFence ...

 

UsedFences

Constructors

Name Description

Public function

FFenceManager()

Destructors

Name Description

Public function

~FFenceManager()

Functions

Name Description

Public function

FFence *

 

AllocateFence

(
    bool bCreateSignaled
)

Protected function

bool

 

CheckFenceState

(
    FFence* Fence
)

Returns true if signaled.

Public function

void

 

Deinit()

Protected function

void

 

DestroyFence

(
    FFence* Fence
)

Public function

void

 

Init

(
    FVulkanDevice* InDevice
)

Public function

bool

 

IsFenceSignaled

(
    FFence* Fence
)

Public function

void

 

ReleaseFence

(
    FFence*& Fence
)

Sets it to nullptr.

Public function

void

 

ResetFence

(
    FFence* Fence
)

Public function

void

 

WaitAndReleaseFence

(
    FFence*& Fence,
    uint64 TimeInNanoseconds
)

Sets it to nullptr.

Public function

bool

 

WaitForFence

(
    FFence* Fence,
    uint64 TimeInNanoseconds
)

Returns false if it timed out.

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