Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/IRHIComputeContext
- IRHIComputeContext::RHIWriteGPUFence()
- FOpenGLDynamicRHI::RHIWriteGPUFence()
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIContext.h |
| Include | #include "RHIContext.h" |
virtual void RHIWriteGPUFence
&40;
FRHIGPUFence &42; FenceRHI
&41;
Remarks
Write the fence in the GPU timeline. The fence can then be tested on the CPU to know if the previous GPU commands are completed.
Parameters
| Name | Description |
|---|---|
| Fence |