/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Helper function to look at both IsMasked and IsDitheredLODTransition to determine if it writes every pixel
bool WritesEveryPixel ( bool bShadowPass, bool bVFTypeSupportsNullPixelShader ) const