Navigation
API > API/Plugins > API/Plugins/XRBase
Inheritance Hierarchy
- IStereoRenderTargetManager
- FXRRenderTargetManager
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRRenderTargetManager.h |
| Include | #include "XRRenderTargetManager.h" |
Syntax
class FXRRenderTargetManager : public IStereoRenderTargetManager
Remarks
CommonIStereoRenderTargetManager implementation that can be used by HMD implementations in order to get default implementations for most methods.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FXRRenderBridge * | GetActiveRenderBridge_GameThread
(
bool bUseSeparateRenderTarget |
Return the current render bridge for use by the current viewport. | |
| void | UpdateViewportRHIBridge
(
bool bUseSeparateRenderTarget, |
Optional method for custom present specific actions called at the end of UpdateViewport. | |
| void | UpdateViewportWidget
(
bool bUseSeparateRenderTarget, |
Optional method called when the ViewportWidget is not null |
Overridden from IStereoRenderTargetManager
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateRenderTargetSize
(
const FViewport& Viewport, |
Calculates dimensions of the render target texture for direct rendering of distortion. | |
| bool | NeedReAllocateViewportRenderTarget
(
const FViewport& Viewport |
Returns true, if render target texture must be re-calculated. | |
| void | UpdateViewport
(
bool bUseSeparateRenderTarget, |
Updates viewport for direct rendering of distortion. Should be called on a game thread. |