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