Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompilingManager
Description
Prepares a job of the given type for compilation. If a job with the given Id/Key already exists, it will attempt to adjust to the higher priority if possible, and nullptr will be returned. If a non-nullptr is returned, the given job should be filled out with relevant information, then passed to SubmitJobs() when ready
| Name | PrepareShaderCompileJob |
| 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 |
FShaderCompileJob * PrepareShaderCompileJob
(
uint32 Id,
const FShaderCompileJobKey & Key,
EShaderCompileJobPriority Priority
)