UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::StereoRenderUtils::FStereoShaderAspects Class Reference

#include <StereoRenderUtils.h>

Public Member Functions

RENDERCORE_API FStereoShaderAspects (EShaderPlatform Platform)
 
RENDERCORE_API FStereoShaderAspects ()
 
bool IsInstancedStereoEnabled () const
 
bool IsMobileMultiViewEnabled () const
 
bool IsInstancedMultiViewportEnabled () const
 
bool IsMobileMultiViewFallbackEnabled () const
 

Constructor & Destructor Documentation

◆ FStereoShaderAspects() [1/2]

RENDERCORE_API UE::StereoRenderUtils::FStereoShaderAspects::FStereoShaderAspects ( EShaderPlatform  Platform)

Determines the stereo aspects of the shader pipeline based on the input shader platform

Parameters
PlatformTarget shader platform used to determine stereo shader variant

◆ FStereoShaderAspects() [2/2]

RENDERCORE_API UE::StereoRenderUtils::FStereoShaderAspects::FStereoShaderAspects ( )

Default empty constructor for object in FSceneView. Do not use!

Member Function Documentation

◆ IsInstancedMultiViewportEnabled()

bool UE::StereoRenderUtils::FStereoShaderAspects::IsInstancedMultiViewportEnabled ( ) const
inline

Whether multiviewport rendering is enabled - i.e. using ViewportIndex to index into viewport. Relies on instanced stereo rendering being enabled.

◆ IsInstancedStereoEnabled()

bool UE::StereoRenderUtils::FStereoShaderAspects::IsInstancedStereoEnabled ( ) const
inline

Whether instanced stereo rendering is enabled - i.e. using a single instanced drawcall to render to both stereo views. The output is redirected via the viewport index.

◆ IsMobileMultiViewEnabled()

bool UE::StereoRenderUtils::FStereoShaderAspects::IsMobileMultiViewEnabled ( ) const
inline

Whether mobile multiview is enabled - i.e. using VK_KHR_multiview. Another drawcall reduction technique, independent of instanced stereo. Mobile multiview generates view indices to index into texture arrays. Can be internally emulated using instanced stereo if native support is unavailable, by using ISR-generated view indices to index into texture arrays.

◆ IsMobileMultiViewFallbackEnabled()

bool UE::StereoRenderUtils::FStereoShaderAspects::IsMobileMultiViewFallbackEnabled ( ) const
inline

Whether MMV fallback was requested - i.e. using ISR-generated view indices to index into texture arrays. True when on a mobile shader platform and vr.MobileMultiView=1, but ISR is supported by the RHI and MMV is not (e.g. D3D12 mobile preview).


The documentation for this class was generated from the following files: