#include <StereoRendering.h>
|
| virtual | ~IStereoRendering () |
| |
| virtual bool | IsStereoEnabled () const =0 |
| |
| virtual bool | IsStereoEnabledOnNextFrame () const |
| |
| virtual bool | EnableStereo (bool stereo=true)=0 |
| |
| virtual int32 | GetDesiredNumberOfViews (bool bStereoRequested) const |
| |
| virtual EStereoscopicPass | GetViewPassForIndex (bool bStereoRequested, int32 ViewIndex) const |
| |
| virtual uint32 | GetLODViewIndex () const |
| |
| virtual bool | IsStandaloneStereoOnlyDevice () const |
| |
| virtual void | AdjustViewRect (const int32 ViewIndex, int32 &X, int32 &Y, uint32 &SizeX, uint32 &SizeY) const =0 |
| |
| virtual void | SetFinalViewRect (class FRHICommandListImmediate &RHICmdList, const int32 ViewIndex, const FIntRect &FinalViewRect) |
| |
| virtual FVector2D | GetTextSafeRegionBounds () const |
| |
| virtual void | CalculateStereoViewOffset (const int32 ViewIndex, FRotator &ViewRotation, const float WorldToMeters, FVector &ViewLocation)=0 |
| |
| virtual FMatrix | GetStereoProjectionMatrix (const int32 ViewIndex) const =0 |
| |
| virtual void | InitCanvasFromView (class FSceneView *InView, class UCanvas *Canvas)=0 |
| |
| virtual void | RenderTexture_RenderThread (class FRHICommandListImmediate &RHICmdList, class FRHITexture *BackBuffer, class FRHITexture *SrcTexture, FVector2D WindowSize) const final |
| |
| virtual ENGINE_API void | RenderTexture_RenderThread (class FRDGBuilder &GraphBuilder, FRDGTextureRef BackBuffer, FRDGTextureRef SrcTexture, FVector2f WindowSize) const |
| |
| virtual IStereoRenderTargetManager * | GetRenderTargetManager () |
| |
| virtual IStereoLayers * | GetStereoLayers () |
| |
| virtual void | StartFinalPostprocessSettings (struct FPostProcessSettings *StartPostProcessingSettings, const enum EStereoscopicPass StereoPassType, const int32 StereoViewIndex) |
| |
| virtual bool | OverrideFinalPostprocessSettings (struct FPostProcessSettings *OverridePostProcessingSettings, const enum EStereoscopicPass StereoPassType, const int32 StereoViewIndex, float &BlendWeight) |
| |
| virtual void | EndFinalPostprocessSettings (struct FPostProcessSettings *FinalPostProcessingSettings, const enum EStereoscopicPass StereoPassType, const int32 StereoViewIndex) |
| |
◆ ~IStereoRendering()
| virtual IStereoRendering::~IStereoRendering |
( |
| ) |
|
|
inlinevirtual |
◆ AdjustViewRect()
◆ CalculateStereoViewOffset()
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
Implemented in FFakeStereoRenderingDevice.
◆ EnableStereo()
Switches stereo rendering on / off. Returns current state of stereo.
- Returns
- Returns current state of stereo (true / false).
Implemented in FFakeStereoRenderingDevice.
◆ EndFinalPostprocessSettings()
◆ GetDesiredNumberOfViews()
| virtual int32 IStereoRendering::GetDesiredNumberOfViews |
( |
bool |
bStereoRequested | ) |
const |
|
inlinevirtual |
Returns the desired number of views, so that devices that require additional views can allocate them. Default is two viewports if using stereo rendering.
Reimplemented in FFakeStereoRenderingDevice.
◆ GetLODViewIndex()
Return the index of the view that is used for selecting LODs
◆ GetRenderTargetManager()
◆ GetStereoLayers()
◆ GetStereoProjectionMatrix()
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
Implemented in FFakeStereoRenderingDevice.
◆ GetTextSafeRegionBounds()
Gets the percentage bounds of the safe region to draw in. This allows things like stat rendering to appear within the readable portion of the stereo view.
- Returns
- The centered percentage of the view that is safe to draw readable text in
◆ GetViewPassForIndex()
For the specified view index in the view family, assign a stereoscopic pass type based on the extension's usage
Reimplemented in FFakeStereoRenderingDevice.
◆ InitCanvasFromView()
◆ IsAPrimaryPass()
Static helper. Return true if this pass is for a view we do all the work for (ie this view can't borrow from another)
◆ IsAPrimaryView()
Static helper. Return true if primary view
◆ IsASecondaryPass()
Static helper. Return true if this pass is for a view for which we share some work done for eSSP_PRIMARY (ie borrow some intermediate state from that view)
◆ IsASecondaryView()
Static helper. Return true if secondary view
◆ IsStandaloneStereoOnlyDevice()
| virtual bool IStereoRendering::IsStandaloneStereoOnlyDevice |
( |
| ) |
const |
|
inlinevirtual |
True when a device has only stereo display (like a self contained mobile vr headset).
◆ IsStartInVR()
| bool IStereoRendering::IsStartInVR |
( |
| ) |
|
|
static |
Static helper. Return true if the Start in VR setting is set to true, or if we have the "-vr" commandline argument
◆ IsStereoEnabled()
| virtual bool IStereoRendering::IsStereoEnabled |
( |
| ) |
const |
|
pure virtual |
◆ IsStereoEnabledOnNextFrame()
| virtual bool IStereoRendering::IsStereoEnabledOnNextFrame |
( |
| ) |
const |
|
inlinevirtual |
Whether or not stereo rendering is on on next frame. Useful to determine if some preparation work should be done before stereo got enabled in next frame.
◆ IsStereoEyePass()
Static helper. Return true if this pass is for a stereo eye view
◆ IsStereoEyeView()
Static helper. Return true if this is a stereoscopic view
◆ OverrideFinalPostprocessSettings()
◆ RenderTexture_RenderThread() [1/2]
◆ RenderTexture_RenderThread() [2/2]
◆ SetFinalViewRect()
◆ StartFinalPostprocessSettings()
The documentation for this class was generated from the following files: