bRemoveUnusedGlobals

Removes unused global variables and resources.

Windows
MacOS
Linux

Syntax

bool bRemoveUnusedGlobals

Remarks

Removes unused global variables and resources. This can only be used in the HLSL rewrite pass, i.e. 'RewriteHlslSource'.

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