/Engine/Source/Runtime/Engine/Public/DebugViewModeInterface.h
Whether this material can be substituted by the default material.
static bool AllowFallbackToDefaultMaterial ( bool bHasVertexPositionOffsetConnected, bool bHasPixelDepthOffsetConnected )