Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompileThreadRunnableBase
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.
Derived Overrides
| Name | PrintWorkerMemoryUsage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include Path | #include "ShaderCompiler.h" |
virtual bool PrintWorkerMemoryUsage
(
bool bAllowToWaitForLock
)