Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- TLinkedListBase
- TIntrusiveLinkedList
- FShaderCommonCompileJob
- FShaderCompileJob
- FShaderPipelineCompileJob
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCompilerJobTypes.h |
| Include | #include "ShaderCompilerJobTypes.h" |
Syntax
class FShaderCommonCompileJob : public TIntrusiveLinkedList< FShaderCommonCompileJob >
Remarks
Stores all of the common information used to compile a shader or pipeline.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bErrorsAreLikelyToBeCode | ||
| uint8: 1 | bFinalized | True if the results of the shader compile have been processed. | |
| uint8: 1 | bInputHashSet | Whether we hashed the inputs | |
| uint8: 1 | bIsDefaultMaterial | Whether or not we are a default material. | |
| uint8: 1 | bIsGlobalShader | Whether or not we are a global shader. | |
| uint8: 1 | bReleased | True if the results of the shader compile have been released from the FShaderCompilerManager. | |
| uint8: 1 | bSucceeded | Output of the shader compile | |
| EShaderCompilerWorkerType | CurrentWorker | ||
| uint32 | Hash | ||
| uint32 | Id | Id of the shader map this shader belongs to. | |
| FInputHash | InputHash | Hash of all the job inputs | |
| int32 | JobIndex | ||
| FThreadSafeCounter | NumRefs | ||
| EShaderCompileJobPriority | PendingPriority | ||
| FPendingShaderMapCompileResultsPtr | PendingShaderMap | ||
| EShaderCompileJobPriority | Priority | ||
| double | TimeAddedToPendingQueue | In-engine timestamp of being added to a pending queue. | |
| double | TimeAssignedToExecution | In-engine timestamp of being assigned to a worker. | |
| double | TimeExecutionCompleted | In-engine timestamp of job being completed. | |
| EShaderCompileJobType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderCommonCompileJob
(
EShaderCompileJobType InType, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AddRef () |
||
| bool | Equals
(
const FShaderCommonCompileJob& Rhs |
||
| void | ForEachSingleShaderJob
(
const TFunction< void(const FShaderCompileJob&SingleJob)>& Predicate |
Calls the specified predicate for each single compile job, i.e. FShaderCompileJob and each stage of FShaderPipelineCompileJob. | |
| FInputHash | GetInputHash () |
Returns hash of all inputs for this job (needed for caching). | |
| uint32 | GetNextJobId () |
This returns a unique id for a shader compiler job | |
| uint32 | GetRefCount () |
||
| FShaderPipelineCompileJob * | |||
| const FShaderPipelineCompileJob * | |||
| FShaderCompileJob * | |||
| const FShaderCompileJob * | |||
| void | OnComplete () |
Executed for all jobs (including those read from cache) on completion. | |
| uint32 | Release () |
||
| void | SerializeOutput
(
FArchive& Ar |
Serializes (and deserializes) the output for caching purposes. |
Typedefs
| Name | Description |
|---|---|
| FInputHash |
Constants
| Name | Description |
|---|---|
| JobIdCounter | Value counter for job ids. |