Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompileThreadRunnableBase
Description
Returns false if the new worker state hash hasn't changed in a certain period of time. If false, a warning is printed. An input hash of 0 will always succeed and effectively reset the timer. A value of 0 should be used when no jobs are pending.
| Name | WorkerStateHeartbeat |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompilerThreadRunnable.cpp |
bool WorkerStateHeartbeat
(
uint64 InWorkerStateHash
)