Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMeshMaterialShaderType
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MeshMaterialShaderType.h |
Include | #include "MeshMaterialShaderType.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MeshMaterialShader.cpp |
bool ShouldCompilePermutation
&40;
EShaderPlatform Platform,
const FMaterialShaderParameters & MaterialParameters,
const FVertexFactoryType &42; VertexFactoryType,
int32 PermutationId,
EShaderPermutationFlags Flags
&41; const
Remarks
Checks if the shader type should be cached for a particular platform, material, and vertex factory type. True if this shader type should be cached.
Parameters
Name | Description |
---|---|
Platform | The platform to check. |
Material | The material to check. |
VertexFactoryType | The vertex factory type to check. |