Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRHIResource
- FRHIGPUFence
- FGenericRHIGPUFence
- FOpenGLGPUFence
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
class FRHIGPUFence : public FRHIResource
Remarks
Generic GPU fence class. Granularity differs depending on backing RHI - ie it may only represent command buffer granularity. RHI specific fences derive from this to implement real GPU->CPU fencing. The default implementation always returns false for Poll until the next frame from the frame the fence was inserted because not all APIs have a GPU/CPU sync object, we need to fake it.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | FenceName | ||
| FThreadSafeCounter | NumPendingWriteCommands |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRHIGPUFence
(
FName InName |
Destructors
| Type | Name | Description | |
|---|---|---|---|