/Engine/Source/Runtime/Engine/Public/ShowFlags.h
Statically register a custom show flag to control rendering - useTCustomShowFlag::IsEnabledto get current state for a given view.
template<EShowFlagShippingValue ShippingValue> struct TCustomShowFlag