IsForwardShadingEnabled

Returns if ForwardShading is enabled.

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()).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss