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
(
class FMeshMaterialShaderType * ShaderType,
FVertexFactoryType * VertexFactoryType,
int32 PermutationId,
bool bFatalIfMissing
) const
Remarks
Finds the shader matching the template type and the passed in vertex factory, asserts if not found.