Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHICustomPresent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Present
(
int32& InOutSyncInterval |
RHIResources.h | ||
virtual bool Present
(
IRHICommandContext& RHICmdContext, |
Called from RHI thread to perform custom present. | RHIResources.h |
Present(int32 &)
| Name | Present |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
virtual bool Present
(
int32 & InOutSyncInterval
)
Present(IRHICommandContext &, int32 &)
Description
Called from RHI thread to perform custom present.
| Name | Present |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
virtual bool Present
(
IRHICommandContext & RHICmdContext,
int32 & InOutSyncInterval
)
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 | Remarks |
|---|---|
| InOutSyncInterval | in out param, indicates if vsync is on (>0) or off (==0). |
| RHICmdContext | the current rhi command context |