Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- IStereoRendering
- FHeadMountedDisplayBase
- FPixelStreamingHMD
- IDisplayClusterRenderDevice
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StereoRendering.h |
| Include | #include "StereoRendering.h" |
Syntax
class IStereoRendering
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdjustViewRect
(
const int32 ViewIndex, |
Adjusts the viewport rectangle for stereo, based on which eye pass is being rendered. | |
| 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 | |
| bool | EnableStereo
(
bool stereo |
Switches stereo rendering on / off. Returns current state of stereo. | |
| void | EndFinalPostprocessSettings
(
FPostProcessSettings* FinalPostProcessingSettings, |
||
| int32 | GetDesiredNumberOfViews
(
bool bStereoRequested |
Returns the desired number of views, so that devices that require additional views can allocate them. | |
| uint32 | Return the index of the view that is used for selecting LODs | ||
| IStereoRenderTargetManager * | Returns currently active render target manager. | ||
| IStereoLayers * | Returns an IStereoLayers implementation, if one is present | ||
| 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 | |
| FVector2D | Gets the percentage bounds of the safe region to draw in. | ||
| EStereoscopicPass | GetViewPassForIndex
(
bool bStereoRequested, |
For the specified view index in the view family, assign a stereoscopic pass type based on the extension's usage | |
| void | InitCanvasFromView
(
FSceneView* InView, |
Sets view-specific params (such as view projection matrix) for the canvas. | |
| bool | IsAPrimaryPass
(
EStereoscopicPass Pass |
Static helper. | |
| bool | IsAPrimaryView
(
const FSceneView& View |
Static helper. Return true if primary view | |
| bool | IsASecondaryPass
(
EStereoscopicPass Pass |
Static helper. | |
| bool | IsASecondaryView
(
const FSceneView& View |
Static helper. Return true if secondary view | |
| bool | True when a device has only stereo display (like a self contained mobile vr headset). | ||
| bool | IsStartInVR () |
Static helper. | |
| bool | Whether or not stereo rendering is on this frame. | ||
| bool | Whether or not stereo rendering is on on next frame. | ||
| bool | IsStereoEyePass
(
EStereoscopicPass Pass |
Static helper. Return true if this pass is for a stereo eye view | |
| bool | IsStereoEyeView
(
const FSceneView& View |
Static helper. Return true if this is a stereoscopic view | |
| bool | OverrideFinalPostprocessSettings
(
FPostProcessSettings* OverridePostProcessingSettings, |
||
| void | RenderTexture_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Renders texture into a backbuffer. | |
| void | SetFinalViewRect
(
FRHICommandListImmediate& RHICmdList, |
Provides the final view rect that the renderer will render into. | |
| void | StartFinalPostprocessSettings
(
FPostProcessSettings* StartPostProcessingSettings, |