Language:
Discover
By Skill Level
By Category

FFenceManager

Choose your OS:

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.

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h