Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCompilerCore.h |
| Include | #include "ShaderCompilerCore.h" |
Syntax
struct FShaderCompilerError
Remarks
A shader compiler error or warning.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | ErrorLineString | ||
| FString | ErrorVirtualFilePath | ||
| FString | HighlightedLine | ||
| FString | HighlightedLineMarker | ||
| FString | StrippedErrorMessage |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FShaderCompilerError
(
const TCHAR* InStrippedErrorMessage |
|||
FShaderCompilerError
(
FString&& InStrippedErrorMessage |
|||
FShaderCompilerError
(
const TCHAR* InVirtualFilePath, |
|||
FShaderCompilerError
(
FString&& InStrippedErrorMessage, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Extracts the file path and source line from StrippedErrorMessage to ErrorVirtualFilePath and ErrorLineString. | ||
| void | ExtractSourceLocations
(
TArray< FShaderCompilerError >& InOutErrors |
Extracts the file path and source line for each error from the error message. | |
| FString | GetErrorString
(
bool bOmitLineMarker |
Returns the error message with source file and source line (if present). | |
| FString | Returns the error message with source file and source line (if present), as well as a line marker separated with a LINE_TERMINATOR. | ||
| FString | Returns the error message with source file and source line (if present), as well as a line marker separated with a LINE_TERMINATOR. | ||
| FString | Returns the path of the underlying source file relative to the process base dir. | ||
| bool | Returns true if this error message has a marker string for the highlighted source line where the error occurred. |