FHeadMountedDisplayBase::GetOverlayLayerTarget_RenderThread

Implement this method to provide an alternate render target for head locked stereo layer rendering, when using the default Stereo Layers implementation.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "HeadMountedDisplayBase.h"

Syntax

virtual FTexture2DRHIRef GetOverlayLayerTarget_RenderThread
(
    EStereoscopicPass StereoPass,
    FIntRect & InOutViewport
)

Remarks

Implement this method to provide an alternate render target for head locked stereo layer rendering, when using the default Stereo Layers implementation.

Return a FTexture2DRHIRef pointing to a texture that can be composed on top of each eye without applying reprojection to it. Return nullptr to render head locked stereo layers into the same render target as other layer types, in which case InOutViewport must not be modified.

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