Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompilingManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp |
FShaderCompileJob &42; PrepareShaderCompileJob
&40;
uint32 Id,
const FShaderCompileJobKey & Key,
EShaderCompileJobPriority Priority
&41;
Remarks
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