Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
Include |
#include "ShaderCompiler.h" |
Source |
/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp |
FShaderCompileJob * PrepareShaderCompileJob
(
uint32 Id,
const FShaderCompileJobKey & Key,
EShaderCompileJobPriority Priority
)
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