Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRRenderTargetManager
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRRenderTargetManager.h |
| Include | #include "XRRenderTargetManager.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRRenderTargetManager.cpp |
virtual void CalculateRenderTargetSize
(
const class FViewport & Viewport,
uint32 & InOutSizeX,
uint32 & InOutSizeY
)
Remarks
Calculates dimensions of the render target texture for direct rendering of distortion. This implementation calculates the size based on the current value of vr.pixeldensity.