#include <VulkanResources.h>
◆ FVulkanGPUFence()
◆ ~FVulkanGPUFence()
| FVulkanGPUFence::~FVulkanGPUFence |
( |
| ) |
|
|
virtual |
◆ Clear()
| void FVulkanGPUFence::Clear |
( |
| ) |
|
|
overridevirtual |
◆ Poll()
| bool FVulkanGPUFence::Poll |
( |
| ) |
const |
|
overridevirtual |
Poll the fence to see if the GPU has signaled it.
- Returns
- True if and only if the GPU fence has been inserted and the GPU has signaled the fence.
CAUTION: Do not call poll in a loop to block until completion. Some platform RHIs will not signal fences unless the RHI thread continues to make progress and submit GPU work.
To block for completion, call Wait(), which can only be done from the render thread.
Use Poll() only to check a fence. If it returns false, continue to do useful work and recheck later, ideally on the following frame.
Implements FRHIGPUFence.
◆ Wait()
Blocks the caller until the fence has passed on the GPU. Can only be called from the render thread.
CAUTION: Use of this function may cause a hitch if the fence is not yet signalled and we have to wait for the GPU to catch up. Rendering code should be written to avoid immediately waiting on GPU fences.
Implements FRHIGPUFence.
◆ FVulkanDynamicRHI
◆ CompletedSyncPoint
◆ Device
◆ Event
◆ SubmittedSyncPoint
The documentation for this class was generated from the following files: