Navigation
API > API/Runtime > API/Runtime/Engine
Description
Precreates compute PSOs for global shaders. Separate from Compile/VerifyGlobalShaders to avoid blocking loads.
| Name | PrecacheComputePipelineStatesForGlobalShaders |
| 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 PrecacheComputePipelineStatesForGlobalShaders
(
ERHIFeatureLevel::Type FeatureLevel,
const ITargetPlatform * TargetPlatform
)