Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompileThreadRunnable
Description
Tries to print out the memory usage of all shader compile workers. When called during an out-of-memory event, it is useful to allow this process to wait for any locks, so we can rule out deadlocks while reporting out-of-memory errors. Returns whether the memory usage was successfully printed.
Virtual Inheritance
- FShaderCompileThreadRunnableBase::PrintWorkerMemoryUsage → FShaderCompileThreadRunnable::PrintWorkerMemoryUsage
| Name | PrintWorkerMemoryUsage |
| 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 |
virtual bool PrintWorkerMemoryUsage
(
bool bAllowToWaitForLock
)