Navigation
API > API/Runtime > API/Runtime/Engine
Description
Begins recompiling the specified global shader types, and flushes their bound shader states. FinishRecompileGlobalShaders must be called after this and before using the global shaders for anything.
| Name | BeginRecompileGlobalShaders |
| 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 BeginRecompileGlobalShaders
(
const TArray < const FShaderType * > & OutdatedShaderTypes,
const TArray < const FShaderPipelineType * > & OutdatedShaderPipelineTypes,
EShaderPlatform ShaderPlatform,
const ITargetPlatform * TargetPlatform,
const FShaderCompilerFlags & InExtraCompilerFlags
)