Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- TLinkedListBase
- TIntrusiveLinkedList
- FShaderCommonCompileJob
- FShaderCompileJob
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCompilerJobTypes.h |
| Include | #include "ShaderCompilerJobTypes.h" |
Syntax
class FShaderCompileJob : public FShaderCommonCompileJob
Remarks
Stores all of the input and output information used to compile a single shader.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FShaderCompilerInput | Input | Input for the shader compile | |
| FShaderCompileJobKey | Key | ||
| FShaderCompilerOutput | Output | ||
| FShaderPreprocessOutput | PreprocessOutput | ||
| TUniquePtr< FShaderCompilerOutput > | SecondaryOutput | ||
| TUniquePtr< FShaderPreprocessOutput > | SecondaryPreprocessOutput | ||
| TSharedPtr< const FShaderType::FParameters, ESPMode::ThreadSafe > | ShaderParameters | Additional parameters that can be supplied to the compile job such that it is available from the compilation begins to when the FShader is created. | |
| TMap< const FVertexFactoryType *, TArray< const FShaderPipelineType * > > | SharingPipelines | List of pipelines that are sharing this job. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderCompileJob
(
uint32 InHash, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | |||
| void | SerializeWorkerInput
(
FArchive& Ar |
Serializes only the subset of data written by ShaderCompiler and read from SCW when using worker processes. | |
| void | SerializeWorkerOutput
(
FArchive& Ar |
Serializes only the subset of data written by SCW/read back from ShaderCompiler when using worker processes. |
Overridden from FShaderCommonCompileJob
| Type | Name | Description | |
|---|---|---|---|
| FInputHash | GetInputHash () |
Returns hash of all inputs for this job (needed for caching). | |
| void | OnComplete () |
Executed for all jobs (including those read from cache) on completion. | |
| void | SerializeOutput
(
FArchive& Ar |
Serializes (and deserializes) the output for caching purposes. |
Constants
| Name | Description |
|---|---|
| Type |