Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRunnable
- FShaderCompileThreadRunnableBase
- FShaderCompileDistributedThreadRunnable_Interface
- FShaderCompileThreadRunnable
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #include "ShaderCompiler.h" |
Syntax
class FShaderCompileThreadRunnableBase : public FRunnable
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAtomic< bool > | bForceFinish | ||
| FShaderCompilingManager * | Manager | The manager for this thread | |
| int32 | MaxPriorityIndex | ||
| int32 | MinPriorityIndex | ||
| FRunnableThread * | Thread | The runnable thread |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderCompileThreadRunnableBase
(
FShaderCompilingManager* InManager |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Main work loop. | ||
| FShaderCompileMemoryUsage | Returns the amount of memory (in bytes) used by external processes related to this, if any. | ||
| const TCHAR * | Returns a name for this thread instance. Defaults to "ShaderCompilingThread". | ||
| void | Events from the manager | ||
| bool | PrintWorkerMemoryUsage
(
bool bAllowToWaitForLock |
Tries to print out the memory usage of all shader compile workers. | |
| void | SetPriorityRange
(
EShaderCompileJobPriority MinPriority, |
||
| void | StartThread () |
||
| void |