FShaderCompilerError

A shader compiler error or warning.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h

Include

#include "ShaderCore.h"

Syntax

struct FShaderCompilerError

Remarks

A shader compiler error or warning.

Variables

Name Description

Public variable

FString

 

ErrorLineString

Public variable

FString

 

ErrorVirtualFilePath

Public variable

FString

 

HighlightedLine

Public variable

FString

 

HighlightedLineMarker

Public variable

FString

 

StrippedErrorMessage

Constructors

Name Description

Public function

FShaderCompilerError

(
    const TCHAR* InStrippedErrorMe...
)

Public function

FShaderCompilerError

(
    const TCHAR* InVirtualFilePath,
    const TCHAR* InLineString,
    const TCHAR* InStrippedErrorMe...
)

Functions

Name Description

Public function Const

FString

 

GetErrorString()

Returns the error message with source file and source line (if present).

Public function Const

FString

 

GetErrorStringWithLineMarker()

Returns the error message with source file and source line (if present), as well as a line marker seperated with a LINE_TERMINATOR.

Public function Const

FString

 

GetShaderSourceFilePath()

Returns the path of the underlying source file relative to the process base dir.

Public function Const

bool

 

HasLineMarker()

Returns true if this error message has a marker string for the highlighted source line where the error occurred.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss