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 | ||
---|---|---|---|
|
AllowAsynchronousShaderCompiling() |
||
|
AreWarningsSuppressed ( |
||
|
CancelCompilation |
Removes all outstanding compile jobs for the passed shader maps. |
|
|
CreateShaderDebugInfoPath ( |
||
|
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() |
|
|
EDumpShaderD... |
GetDumpShaderDebugInfo() |
|
|
GetNumOutstandingJobs() |
||
|
GetNumPendingJobs() |
||
|
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. |
|
|
IsShaderCompilationSkipped() |
||
|
IsShaderCompilerWorkerRunning ( |
Returns true if the given shader compile worker is still running. |
|
|
FShaderPipel... |
PreparePipelineCompileJob ( |
|
|
FShaderCompi... |
PrepareShaderCompileJob ( |
Prepares a job of the given type for compilation. |
|
ProcessAsyncResults |
Processes completed asynchronous shader maps, and assigns them to relevant materials. |
|
|
ProcessFinishedJob ( |
This is an entry point for all jobs that have finished the compilation. |
|
|
SetExternalJobs ( |
||
|
ShouldDisplayCompilingNotification() |
Returns whether to display a notification that shader compiling is happening in the background. |
|
|
ShouldRecompileToDumpShaderDebugInfo ( |
||
|
ShouldRecompileToDumpShaderDebugInfo ( |
||
|
Shutdown() |
Shutdown the shader compiler manager, this will shutdown immediately and not process any more shader compile requests. |
|
|
SkipShaderCompilation ( |
||
|
SubmitJobs ( |
Adds shader jobs to be asynchronously compiled. |
|
|
SuppressWarnings ( |
Name |
Description |
|
---|---|---|
|
EDumpShaderDebugInfo |