Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
Include |
#include "ShaderCompiler.h" |
class FShaderCompilingManager
Manager of asynchronous and parallel shader compilation. This class contains an interface to enqueue and retreive asynchronous shader jobs, and manages a FShaderCompileThreadRunnable.
Name | Description | |
---|---|---|
|
FShaderCompilingManager() |
Name | Description | ||
---|---|---|---|
|
AddJobs ( |
Adds shader jobs to be asynchronously compiled. |
|
|
AllowAsynchronousShaderCompiling() |
||
|
AreWarningsSuppressed ( |
||
|
CancelCompilation |
Removes all outstanding compile jobs for the passed shader maps. |
|
|
FinishAllCompilation() |
Blocks until completion of all async shader compiling, and assigns shader maps to relevant materials. |
|
|
FinishCompilation |
Blocks until completion of the requested shader maps. |
|
|
const FStrin... |
GetAbsoluteShaderDebugInfoDirectory() |
|
|
GetDumpShaderDebugInfo() |
||
|
GetNumRemainingJobs() |
Returns the number of outstanding compile jobs. |
|
|
HasShaderJobs() |
Return true if we have shader jobs in any state shader jobs are removed when they are applied to the gamethreadshadermap accessable from gamethread |
|
|
IsCompiling() |
Returns whether async compiling is happening. |
|
|
IsShaderCompilerWorkerRunning ( |
Returns true if the given shader compile worker is still running. |
|
|
ProcessAsyncResults |
Processes completed asynchronous shader maps, and assigns them to relevant materials. |
|
|
SetExternalJobs ( |
||
|
ShouldDisplayCompilingNotification() |
Returns whether to display a notification that shader compiling is happening in the background. |
|
|
Shutdown() |
Shutdown the shader compiler manager, this will shutdown immediately and not process any more shader compile requests. |
|
|
SuppressWarnings ( |