Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginCacheShaders
(
EShaderPlatform Platform, |
Begins caching the material shaders for the given static parameter set and platform. | MaterialShared.h | |
void BeginCacheShaders
(
const FMaterialShaderMapId& ShaderMapId, |
Begins caching the material shaders for the given static parameter set and platform. | MaterialShared.h |
BeginCacheShaders(EShaderPlatform, EMaterialShaderPrecompileMode, const ITargetPlatform *, TUniqueFunction< void(bool bSuccess)> &&)
Description
Begins caching the material shaders for the given static parameter set and platform. This is used by material resources of UMaterials.
| Name | BeginCacheShaders |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
void BeginCacheShaders
(
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform,
TUniqueFunction < void> && CompletionCallback
)
BeginCacheShaders(const FMaterialShaderMapId &, EShaderPlatform, EMaterialShaderPrecompileMode, const ITargetPlatform *, TUniqueFunction< void(bool bSuccess)> &&)
Description
Begins caching the material shaders for the given static parameter set and platform. This is used by material resources of UMaterialInstances.
Caches the material shaders for the given static parameter set and platform. This is used by material resources of UMaterialInstances.
| Name | BeginCacheShaders |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialShared.cpp |
void BeginCacheShaders
(
const FMaterialShaderMapId & ShaderMapId,
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform,
TUniqueFunction < void> && CompletionCallback
)