Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FHeadMountedDisplayBase
Description
Implement this method to provide an alternate render target for head locked stereo layer rendering, when using the default Stereo Layers implementation.
Return a FTextureRHIRef 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.
| Name | GetOverlayLayerTarget_RenderThread |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/HeadMountedDisplayBase.h |
| Include Path | #include "HeadMountedDisplayBase.h" |
virtual FTextureRHIRef GetOverlayLayerTarget_RenderThread
(
int32 ViewIndex,
FIntRect & InOutViewport
)