FXRRenderBridge::UpdateViewport

Override this method in case the render bridge needs access to the current viewport or RHI viewport before rendering the current frame.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/XRRenderBridge.h

Include

#include "XRRenderBridge.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/XRRenderBridge.cpp

Syntax

virtual void UpdateViewport
(
    const class FViewport & Viewport,
    class FRHIViewport * InViewportRHI
)

Remarks

Override this method in case the render bridge needs access to the current viewport or RHI viewport before rendering the current frame. Note that you should not call Viewport->SetCustomPresent() from this method, as that is handled by the XRRenderTargetManager implementation.

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