Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayBase.h |
Include |
#include "HeadMountedDisplayBase.h" |
virtual FTexture2DRHIRef GetOverlayLayerTarget_RenderThread
(
EStereoscopicPass StereoPass,
FIntRect & InOutViewport
)
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.