| IStereoRenderTargetManager
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
Include |
#include "StereoRenderTargetManager.h" |
class IStereoRenderTargetManager
The IStereoRenderTargetManager can be returned from IStereoRendering::GetRenderTargetManager() implementations. Implement this interface if a stereo rendering device requires all output to be rendered into separate render targets and/or to customize how separate render targets are allocated.
Name | Description | ||
---|---|---|---|
|
AllocateDepthTexture ( |
Allocates a depth texture. |
|
|
AllocateFoveationTexture |
Allocates a foveation texture. |
|
|
AllocateRenderTargetTexture ( |
Allocates a render target texture. |
|
|
CalculateRenderTargetSize |
Calculates dimensions of the render target texture for direct rendering of distortion. |
|
|
GetNumberOfBufferedFrames() |
Returns number of required buffered frames. |
|
|
NeedReAllocateDepthTexture ( |
Returns true, if render target texture must be re-calculated. |
|
|
NeedReAllocateFoveationTexture ( |
Returns true, if foveation texture must be re-calculated. |
|
|
NeedReAllocateViewportRenderTarget ( |
Returns true, if render target texture must be re-calculated. |
|
|
ShouldUseSeparateRenderTarget() |
Whether a separate render target should be used or not. |
|
|
UpdateViewport |
Updates viewport for direct rendering of distortion. Should be called on a game thread. |