IStereoRenderTargetManager::UpdateViewport

Updates viewport for direct rendering of distortion. Should be called on a game thread.

Windows
MacOS
Linux

Override Hierarchy

IStereoRenderTargetManager::UpdateViewport()

FXRRenderTargetManager::UpdateViewport()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h

Include

#include "StereoRenderTargetManager.h"

Syntax

void UpdateViewport
(
    bool bUseSeparateRenderTarget,
    const class FViewport & Viewport,
    class SViewport * ViewportWidget
)

Remarks

Updates viewport for direct rendering of distortion. Should be called on a game thread.

Parameters

Parameter

Description

bUseSeparateRenderTarget

Set to true if a separate render target will be used. Can potentiallt be true even if ShouldUseSeparateRenderTarget() returned false earlier.

Viewport

The Viewport instance calling this method.

ViewportWidget

(optional) The Viewport widget containing the view. Can be used to access SWindow object.

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