20 #ifdef PROJECT_CVAR_ALLOW_STATIC_LIGHTING
23 return bAllowStaticLighting;
31 return bEnablePointLightShadows;
42 return bEnableStationarySkylight;
47 return bEnableLowQualityLightmaps;
52 return bSupportSkyAtmosphere;
59 #ifdef PROJECT_CVAR_MOBILE_HDR
69 #ifdef PROJECT_CVAR_MOBILE_SUPPORTS_GPUSCENE
72 return bMobileSupportsGPUScene;
78 return bMobileAllowDistanceFieldShadows;
83 return bMobileEnableStaticAndCSMShadowReceivers;
88 return bMobileEnableMovableLightCSMShaderCulling;
93 return MobileForwardDecalLightingValue;
99 return MobileEarlyZPassIniValue(
Platform);
101 return MobileEarlyZPassValue;
108 return MobileForwardLocalLightsIniValue(
Platform);
109 #elif defined PROJECT_CVAR_MOBILE_FORWARD_LOCALLIGHTS
112 return MobileForwardLocalLightsValue;
119 return MobileForwardParticleLightsIniValue(
Platform);
120 #elif defined PROJECT_CVAR_MOBILE_FORWARD_PARTICLELIGHTS
123 return bMobileForwardParticleLights;
130 return MobileDeferredShadingIniValue(
Platform);
131 #elif defined PROJECT_CVAR_MOBILE_DEFERRED_SHADING
134 return bMobileDeferredShadingValue;
141 return MobileEnableMovableSpotlightsShadowIniValue(
Platform);
143 return bMobileEnableMovableSpotlightsShadowValue;
150 return MobileAllowDitheredLODTransitionValueIniValue(
Platform);
152 return bMobileAllowDitheredLODTransitionValue;
159 return MobileAllowFramebufferFetchIniValue(
Platform);
161 return bMobileAllowFramebufferFetchValue;
177 RENDERCORE_API static bool bMobileEnableStaticAndCSMShadowReceivers;
178 RENDERCORE_API static bool bMobileEnableMovableLightCSMShaderCulling;
185 RENDERCORE_API static bool bMobileEnableMovableSpotlightsShadowValue;
186 RENDERCORE_API static bool bMobileAllowDitheredLODTransitionValue;
#define checkSlow(expr)
Definition AssertionMacros.h:332
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition ReadOnlyCVARCache.h:14
static bool MobileDeferredShading(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:127
static bool SupportSkyAtmosphere()
Definition ReadOnlyCVARCache.h:50
static int32 MobileForwardLocalLights(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:105
static int32 MobileEarlyZPass(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:96
static void Initialize()
Definition ReadOnlyCVARCache.cpp:98
static int32 MobileForwardDecalLighting()
Definition ReadOnlyCVARCache.h:91
static bool EnableStationarySkylight()
Definition ReadOnlyCVARCache.h:40
static bool EnableLowQualityLightmaps()
Definition ReadOnlyCVARCache.h:45
static bool MobileAllowFramebufferFetch(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:156
static bool MobileEnableStaticAndCSMShadowReceivers()
Definition ReadOnlyCVARCache.h:81
static bool MobileAllowDistanceFieldShadows()
Definition ReadOnlyCVARCache.h:76
static bool MobileAllowDitheredLODTransition(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:147
static bool MobileEnableMovableSpotlightsShadow(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:138
static bool AllowStaticLighting()
Definition ReadOnlyCVARCache.h:17
static int32 MobileForwardParticleLights(EShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:116
static bool MobileSupportsGPUScene()
Definition ReadOnlyCVARCache.h:66
static bool MobileHDR()
Definition ReadOnlyCVARCache.h:56
static bool MobileEnableMovableLightCSMShaderCulling()
Definition ReadOnlyCVARCache.h:86
static bool EnablePointLightShadows(const FStaticShaderPlatform Platform)
Definition ReadOnlyCVARCache.h:27