Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompileDistributedThreadR-
Description
Invokes the specified callback on each pending job this shader compile thread is processing. Use this to find compile jobs that are already sent to a worker, since once a worker processes them, they are no longer in the "pending list" of the shader compile manager (i.e. FShaderCompileJobCollection specifically).
Virtual Inheritance
- FShaderCompileThreadRunnableBase::ForEachPendingJob → FShaderCompileDistributedThreadRunnable_Interface::ForEachPendingJob
| Name | ForEachPendingJob |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompilerDistributed.cpp |
virtual void ForEachPendingJob
(
const FShaderCompileJobCallback & PendingJobCallback
) const
Parameters
| Name | Remarks |
|---|---|
| PendingJobCallback | Function callback that is invoked on each pending job. Returns false to exit the iteration early. |