Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/XRRenderBridge.h |
Include |
#include "XRRenderBridge.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/XRRenderBridge.cpp |
virtual void UpdateViewport
(
const class FViewport & Viewport,
class FRHIViewport * InViewportRHI
)
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.