Navigation
API > API/Runtime > API/Runtime/RenderCore
Detect the single-draw stereo shader variant, in order to support usage across different platforms
| Name | FStereoShaderAspects |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/StereoRenderUtils.h |
| Include Path | #include "StereoRenderUtils.h" |
Syntax
class FStereoShaderAspects
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default empty constructor for object in FSceneView. Do not use! | StereoRenderUtils.h | ||
FStereoShaderAspects
(
EShaderPlatform Platform |
Determines the stereo aspects of the shader pipeline based on the input shader platform | StereoRenderUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInstancedMultiViewportEnabled | bool | StereoRenderUtils.h | ||
| bInstancedStereoEnabled | bool | StereoRenderUtils.h | ||
| bInstancedStereoNative | bool | StereoRenderUtils.h | ||
| bMobileMultiViewEnabled | bool | StereoRenderUtils.h | ||
| bMobileMultiViewFallback | bool | StereoRenderUtils.h | ||
| bMobileMultiViewNative | bool | StereoRenderUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsInstancedMultiViewportEnabled () |
Whether multiviewport rendering is enabled - i.e. using ViewportIndex to index into viewport. | StereoRenderUtils.h | |
bool IsInstancedStereoEnabled () |
Whether instanced stereo rendering is enabled - i.e. using a single instanced drawcall to render to both stereo views. | StereoRenderUtils.h | |
bool IsMobileMultiViewEnabled () |
Whether mobile multiview is enabled - i.e. using VK_KHR_multiview. | StereoRenderUtils.h | |
bool IsMobileMultiViewFallbackEnabled () |
Whether MMV fallback was requested - i.e. using ISR-generated view indices to index into texture arrays. | StereoRenderUtils.h |