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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback