Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/IShaderFormat
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CompilePreprocessedShader
(
const FShaderCompilerInput& Input, |
Compile the specified preprocessed shader. | Interfaces/IShaderFormat.h | |
virtual void CompilePreprocessedShader
(
const FShaderCompilerInput& Input, |
Compile the specified preprocessed shaders; only called if the call to RequiresSecondaryCompile given the first preprocess output returns true. | Interfaces/IShaderFormat.h |
CompilePreprocessedShader(const FShaderCompilerInput &, const FShaderPreprocessOutput &, FShaderCompilerOutput &, const FString &)
Description
Compile the specified preprocessed shader.
| Name | CompilePreprocessedShader |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
| Include Path | #include "Interfaces/IShaderFormat.h" |
virtual void CompilePreprocessedShader
(
const FShaderCompilerInput & Input,
const FShaderPreprocessOutput & PreprocessOutput,
FShaderCompilerOutput & Output,
const FString & WorkingDirectory
) const
CompilePreprocessedShader(const FShaderCompilerInput &, const FShaderPreprocessOutput &, const FShaderPreprocessOutput &, FShaderCompilerOutput &, FShaderCompilerOutput &, const FString &)
Description
Compile the specified preprocessed shaders; only called if the call to RequiresSecondaryCompile given the first preprocess output returns true. The shader system will pack these outputs together in the following format: [int32 key][uint32 primary length][uint32 secondary length][full primary shader code][full secondary shader code] where "key" is the return value of the GetPackedShaderKey function (this should also be implemented by any backends which require secondary compilation and is used by the RHI to differentiate packed shader code from single shaders)
| Name | CompilePreprocessedShader |
| Type | function |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
| Include Path | #include "Interfaces/IShaderFormat.h" |
virtual void CompilePreprocessedShader
(
const FShaderCompilerInput & Input,
const FShaderPreprocessOutput & PrimaryPreprocessOutput,
const FShaderPreprocessOutput & SecondaryPreprocessOutput,
FShaderCompilerOutput & PrimaryOutput,
FShaderCompilerOutput & SecondaryOutput,
const FString & WorkingDirectory
) const