Navigation
API > API/Runtime > API/Runtime/Engine
| Name | IStereoRendering |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/StereoRendering.h |
| Include Path | #include "StereoRendering.h" |
Syntax
class IStereoRendering
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IStereoRendering() |
StereoRendering.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AdjustViewRect
(
const int32 ViewIndex, |
Adjusts the viewport rectangle for stereo, based on which eye pass is being rendered. | StereoRendering.h | |
void CalculateStereoViewOffset
(
const int32 ViewIndex, |
Calculates the offset for the camera position, given the specified position, rotation, and world scale Specifying eSSE_MONOSCOPIC for the view index returns a center offset behind the stereo views | StereoRendering.h | |
bool EnableStereo
(
bool stereo |
Switches stereo rendering on / off. Returns current state of stereo. | StereoRendering.h | |
virtual void EndFinalPostprocessSettings
(
FPostProcessSettings* FinalPostProcessingSettings, |
StereoRendering.h | ||
virtual int32 GetDesiredNumberOfViews
(
bool bStereoRequested |
Returns the desired number of views, so that devices that require additional views can allocate them. | StereoRendering.h | |
virtual uint32 GetLODViewIndex() |
Return the index of the view that is used for selecting LODs | StereoRendering.h | |
virtual IStereoRenderTargetManager * GetRenderTargetManager() |
Returns currently active render target manager. | StereoRendering.h | |
virtual IStereoLayers * GetStereoLayers() |
Returns an IStereoLayers implementation, if one is present | StereoRendering.h | |
FMatrix GetStereoProjectionMatrix
(
const int32 ViewIndex |
Gets a projection matrix for the device, given the specified view index Specifying eSSE_MONOSCOPIC for the view index returns a center projection matrix encompassing all views | StereoRendering.h | |
virtual FVector2D GetTextSafeRegionBounds () |
Gets the percentage bounds of the safe region to draw in. | StereoRendering.h | |
virtual EStereoscopicPass GetViewPassForIndex
(
bool bStereoRequested, |
For the specified view index in the view family, assign a stereoscopic pass type based on the extension's usage | StereoRendering.h | |
void InitCanvasFromView
(
FSceneView* InView, |
Sets view-specific params (such as view projection matrix) for the canvas. | StereoRendering.h | |
virtual bool IsStandaloneStereoOnlyDevice() |
True when a device has only stereo display (like a self contained mobile vr headset). | StereoRendering.h | |
bool IsStereoEnabled() |
Whether or not stereo rendering is on this frame. | StereoRendering.h | |
virtual bool IsStereoEnabledOnNextFrame () |
Whether or not stereo rendering is on on next frame. | StereoRendering.h | |
virtual bool OverrideFinalPostprocessSettings
(
FPostProcessSettings* OverridePostProcessingSettings, |
StereoRendering.h | ||
virtual void RenderTexture_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Renders texture into a backbuffer. | StereoRendering.h | |
virtual void RenderTexture_RenderThread
(
FRDGBuilder& GraphBuilder, |
StereoRendering.h | ||
virtual void SetFinalViewRect
(
FRHICommandListImmediate& RHICmdList, |
Provides the final view rect that the renderer will render into. | StereoRendering.h | |
virtual void StartFinalPostprocessSettings
(
FPostProcessSettings* StartPostProcessingSettings, |
StereoRendering.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsAPrimaryPass
(
EStereoscopicPass Pass |
Static helper. | StereoRendering.h | |
static bool IsAPrimaryView
(
const FSceneView& View |
Static helper. Return true if primary view | StereoRendering.h | |
static bool IsASecondaryPass
(
EStereoscopicPass Pass |
Static helper. | StereoRendering.h | |
static bool IsASecondaryView
(
const FSceneView& View |
Static helper. Return true if secondary view | StereoRendering.h | |
static bool IsStartInVR () |
Static helper. | StereoRendering.h | |
static bool IsStereoEyePass
(
EStereoscopicPass Pass |
Static helper. Return true if this pass is for a stereo eye view | StereoRendering.h | |
static bool IsStereoEyeView
(
const FSceneView& View |
Static helper. Return true if this is a stereoscopic view | StereoRendering.h |