Navigation
API > API/Runtime > API/Runtime/RHI
Issues a single fence at the end of the scope if an RHI fence is requested by commands within the scope. Can reduce overhead of RHIThreadFence when batch updating resources that would otherwise issue N fences.
| Name | FRHICommandListScopedFence |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include Path | #include "RHICommandList.h" |
Syntax
class FRHICommandListScopedFence
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHICommandListScopedFence
(
FRHICommandListBase& RHICmdList |
RHICommandList.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRHICommandListScopedFence() |
RHICommandList.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFenceRequested | bool | RHICommandList.h | ||
| Previous | FRHICommandListScopedFence * | RHICommandList.h | ||
| RHICmdList | FRHICommandListBase & | RHICommandList.h |