Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRRenderBridge
Description
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.
| Name | UpdateViewport |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRRenderBridge.h |
| Include Path | #include "XRRenderBridge.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRRenderBridge.cpp |
virtual void UpdateViewport
(
const class FViewport & Viewport,
class FRHIViewport * InViewportRHI
)