Navigation
API > API/Runtime > API/Runtime/RHI
Misc
| Name | FRHIGPUFence |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
class FRHIGPUFence : public FRHIResource
Inheritance Hierarchy
- FRHIResource → FRHIGPUFence
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIGPUFence
(
FName InName |
RHIResources.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumPendingWriteCommands | FThreadSafeCounter | RHIResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear() |
RHIResources.h | ||
FName GetFName() |
RHIResources.h | ||
bool Poll () |
Poll the fence to see if the GPU has signaled it. | RHIResources.h | |
virtual bool Poll
(
FRHIGPUMask GPUMask |
Poll on a subset of the GPUs that this fence supports. | RHIResources.h | |
void Wait
(
FRHICommandListImmediate& RHICmdList, |
Blocks the caller until the fence has passed on the GPU. | RHIResources.h |