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" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
TShaderRef< FShader > GetShader
&40;
class FMeshMaterialShaderType &42; ShaderType,
FVertexFactoryType &42; VertexFactoryType,
int32 PermutationId,
bool bFatalIfMissing
&41; const
Remarks
Finds the shader matching the template type and the passed in vertex factory, asserts if not found.