Navigation
API > API/Runtime > API/Runtime/RenderCore
| Name | FShaderPreprocessOutput |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderPreprocessTypes.h |
| Include Path | #include "ShaderPreprocessTypes.h" |
Syntax
class FShaderPreprocessOutput
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FShaderPreprocessOutput() |
ShaderPreprocessTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSecondary | bool | ShaderPreprocessTypes.h | ||
| bSucceeded | bool | ShaderPreprocessTypes.h | ||
| Errors | TArray< FShaderCompilerError > | Array of errors encountered in preprocessing; should be populated by IShaderFormat::PreprocessShader. | ShaderPreprocessTypes.h | |
| OriginalPreprocessedSource | FShaderSource | Set by Finalize; original preprocessed source as set by IShaderFormat::PreprocessShader. | ShaderPreprocessTypes.h | |
| PragmaDirectives | TArray< FString > | Array of "UESHADERMETADATA" pragmas encountered by preprocessing; set automatically by core preprocessing and expected to be queried by IShaderFormat | ShaderPreprocessTypes.h | |
| PreprocessedSource | FShaderSource | Output of preprocessing; should be set by IShaderFormat::PreprocessShader. | ShaderPreprocessTypes.h | |
| PreprocessTime | double | ShaderPreprocessTypes.h | ||
| Remapper | FShaderDiagnosticRemapper | ShaderPreprocessTypes.h | ||
| ShaderDiagnosticDatas | TArray< FShaderDiagnosticData > | ShaderPreprocessTypes.h | ||
| WideSource | FString | Set when GetSourceViewWide or GetUnstrippedSourceView accessors are called Mutable so we can maintain const correctness in the API otherwise. | ShaderPreprocessTypes.h | |
| WideSourceUnstripped | FString | ShaderPreprocessTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddDirective
(
FString&& Directive |
ShaderPreprocessTypes.h | ||
TArray< FShaderDiagnosticData > & EditDiagnosticDatas() |
ShaderPreprocessTypes.h | ||
TArray< FShaderCompilerError > & EditErrors() |
ShaderPreprocessTypes.h | ||
FShaderSource & EditSource() |
ShaderPreprocessTypes.h | ||
| ShaderPreprocessTypes.h | |||
const TArray< FShaderDiagnosticData > & GetDiagnosticDatas() |
ShaderPreprocessTypes.h | ||
TConstArrayView< FShaderCompilerError > GetErrors() |
ShaderPreprocessTypes.h | ||
double GetPreprocessTime() |
ShaderPreprocessTypes.h | ||
FShaderSource::FViewType GetSourceView() |
ShaderPreprocessTypes.h | ||
FAnsiStringView GetSourceViewAnsi() |
ShaderPreprocessTypes.h | ||
FStringView GetSourceViewWide() |
ShaderPreprocessTypes.h | ||
bool GetSucceeded() |
ShaderPreprocessTypes.h | ||
FStringView GetUnstrippedSourceView() |
ShaderPreprocessTypes.h | ||
bool HasDirective
(
const FString& Directive |
ShaderPreprocessTypes.h | ||
bool IsSecondary() |
ShaderPreprocessTypes.h | ||
| ShaderPreprocessTypes.h | |||
| ShaderPreprocessTypes.h | |||
| ShaderPreprocessTypes.h | |||
void MoveDirectives
(
TArray< FString >& OutDirectives |
Temporary helper for preprocessor wrapper function. | ShaderPreprocessTypes.h | |
| ShaderPreprocessTypes.h | |||
| ShaderPreprocessTypes.h |