FRHICustomPresent::Present

Called from RHI thread to perform custom present.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

bool Present
(
    int32 & InOutSyncInterval
)

Remarks

Called from RHI thread to perform custom present.

Returns

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 NeedsNormalPresent for this frame.

Parameters

Parameter

Description

InOutSyncInterval

in out param, indicates if vsync is on (>0) or off (==0).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss