#include <StereoRenderUtils.h>
◆ FStereoShaderAspects() [1/2]
Determines the stereo aspects of the shader pipeline based on the input shader platform
- Parameters
-
| Platform | Target 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!
◆ 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: