Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
(Non-runtime) Checks if the depth prepass for single layer water is enabled. This also depends on virtual shadow maps to be supported on the platform.
| Name | IsSingleLayerWaterDepthPrepassEnabled |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderUtils.h |
| Include Path | #include "RenderUtils.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp |
bool IsSingleLayerWaterDepthPrepassEnabled
(
const FStaticShaderPlatform Platform,
FStaticFeatureLevel FeatureLevel
)