FXRRenderTargetManager::CalculateRenderTargetSize

Calculates dimensions of the render target texture for direct rendering of distortion.

Windows
MacOS
Linux

Override Hierarchy

IStereoRenderTargetManager::CalculateRenderTargetSize()

FXRRenderTargetManager::CalculateRenderTargetSize()

References

Module

HeadMountedDisplay

Header

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

Include

#include "XRRenderTargetManager.h"

Source

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

Syntax

virtual void CalculateRenderTargetSize
(
    const class FViewport & Viewport,
    uint32 & InOutSizeX,
    uint32 & InOutSizeY
)

Remarks

Calculates dimensions of the render target texture for direct rendering of distortion. This implementation calculates the size based on the current value of vr.pixeldensity.

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