/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Finds the shader matching the template type and the passed in vertex factory, asserts if not found. Note - Only implemented for FMeshMaterialShaderTypes
template<typename ShaderType> TShaderRef< ShaderType > GetShader ( [FVertexFactoryType](API\Runtime\RenderCore\FVertexFactoryType) * VertexFactoryType, const typename ShaderType::FPermutationDomain & PermutationVector, bool bFatalIfMissing ) const