IsForwardShadingEnabled

Returns if ForwardShading is enabled.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h

Include

#include "RenderUtils.h"

Syntax

bool IsForwardShadingEnabled
(
    const FStaticShaderPlatform Platform
)

Remarks

Returns if ForwardShading is enabled. Only valid for the current platform (otherwise call ITargetPlatform::UsesForwardShading()).