Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/VerifyGlobalShaders
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #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
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Platform | Platform to verify global shaders for |