Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
virtual bool ShouldCache
(
EShaderPlatform Platform,
const FShaderType * ShaderType,
const FVertexFactoryType * VertexFactoryType
) const
Should the shader for this material with the given platform, shader type and vertex factory type combination be compiled
true if the shader should be compiled
Parameter |
Description |
---|---|
Platform |
The platform currently being compiled for |
ShaderType |
Which shader is being compiled |
VertexFactory |
Which vertex factory is being compiled (can be NULL) |