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