Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CacheShaders
(
EMaterialShaderPrecompileMode PrecompileMode, |
MaterialShared.h | ||
bool CacheShaders
(
EShaderPlatform Platform, |
Caches the material shaders for this material on the given platform. | MaterialShared.h | |
bool CacheShaders
(
const FMaterialShaderMapId& ShaderMapId, |
MaterialShared.h | ||
bool CacheShaders
(
const FMaterialShaderMapId& ShaderMapId, |
Caches the material shaders for the given static parameter set and platform. | MaterialShared.h |
CacheShaders(EMaterialShaderPrecompileMode, const ITargetPlatform *)
| Name | CacheShaders |
| 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 |
bool CacheShaders
(
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform
)
CacheShaders(EShaderPlatform, EMaterialShaderPrecompileMode, const ITargetPlatform *)
Description
Caches the material shaders for this material on the given platform. This is used by material resources of UMaterials.
Caches the material shaders for this material with no static parameters on the given platform. This is used by material resources of UMaterials.
| Name | CacheShaders |
| 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 |
bool CacheShaders
(
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform
)
CacheShaders(const FMaterialShaderMapId &, EMaterialShaderPrecompileMode, const ITargetPlatform *)
| Name | CacheShaders |
| 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 |
bool CacheShaders
(
const FMaterialShaderMapId & ShaderMapId,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform
)
CacheShaders(const FMaterialShaderMapId &, EShaderPlatform, EMaterialShaderPrecompileMode, const ITargetPlatform *)
Description
Caches the material shaders for the given static parameter set and platform. This is used by material resources of UMaterialInstances.
| Name | CacheShaders |
| 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 |
bool CacheShaders
(
const FMaterialShaderMapId & ShaderMapId,
EShaderPlatform Platform,
EMaterialShaderPrecompileMode PrecompileMode,
const ITargetPlatform * TargetPlatform
)