bUsedAsSpecialEngineMaterial

This is a special usage flag that allows a material to be assignable to any primitive type.

Windows
MacOS
Linux

Syntax

uint8 bUsedAsSpecialEngineMaterial: 1

Remarks

This is a special usage flag that allows a material to be assignable to any primitive type. This is useful for materials used by code to implement certain viewmodes, for example the default material or lighting only material. The cost is that nearly 20x more shaders will be compiled for the material than the average material, which will greatly increase shader compile time and memory usage. This flag should only be enabled when absolutely necessary, and is purposefully not exposed to the UI to prevent abuse.

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