Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHICustomPresent
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
bool Present
&40;
int32 & InOutSyncInterval
&41;
Remarks
Called from RHI thread to perform custom present. true if native Present should be also be performed; false otherwise. If it returns true, then InOutSyncInterval could be modified to switch between VSync/NoVSync for the normal Present. Must match value previously returned by NeedsNativePresent for this frame.
Parameters
| Name | Description |
|---|---|
| InOutSyncInterval | in out param, indicates if vsync is on (>0) or off (==0). |