Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void VerifyGlobalShaders
(
EShaderPlatform Platform, |
Makes sure all global shaders are loaded and/or compiled for the passed in platform. | ShaderCompiler.h | |
void VerifyGlobalShaders
(
EShaderPlatform Platform, |
Makes sure all global shaders are loaded and/or compiled for the passed in platform. | ShaderCompiler.h |
VerifyGlobalShaders(EShaderPlatform, bool, const TArray< const FShaderType > , const TArray< const FShaderPipelineType > )
Description
Makes sure all global shaders are loaded and/or compiled for the passed in platform. Note: if compilation is needed, this only kicks off the compile.
| Name | VerifyGlobalShaders |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp |
void VerifyGlobalShaders
(
EShaderPlatform Platform,
bool bLoadedFromCacheFile,
const TArray < const FShaderType * > * OutdatedShaderTypes,
const TArray < const FShaderPipelineType * > * OutdatedShaderPipelineTypes
)
Parameters
| Name | Remarks |
|---|---|
| Platform | Platform to verify global shaders for |
| bLoadedFromCacheFile | Load the shaders from cache, will error out and not compile shaders if missing |
| OutdatedShaderTypes | Optional list of shader types, will trigger compilation job for shader types found in this list even if the map already has the shader. |
| OutdatedShaderPipelineTypes | Optional list of shader pipeline types, will trigger compilation job for shader pipeline types found in this list even if the map already has the pipeline. |
VerifyGlobalShaders(EShaderPlatform, const ITargetPlatform , bool, const TArray< const FShaderType > , const TArray< const FShaderPipelineType > *, const FShaderCompilerFlags &)
Description
Makes sure all global shaders are loaded and/or compiled for the passed in platform. Note: if compilation is needed, this only kicks off the compile.
| Name | VerifyGlobalShaders |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp |
void VerifyGlobalShaders
(
EShaderPlatform Platform,
const ITargetPlatform * TargetPlatform,
bool bLoadedFromCacheFile,
const TArray < const FShaderType * > * OutdatedShaderTypes,
const TArray < const FShaderPipelineType * > * OutdatedShaderPipelineTypes,
const FShaderCompilerFlags & InExtraCompilerFlags
)
Parameters
| Name | Remarks |
|---|---|
| Platform | Platform to verify global shaders for |