engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FShaderCompilerError结构体 参考

A shader compiler error or warning. 更多...

#include <ShaderCompilerCore.h>

Public 成员函数

FString GetErrorString () const
 Returns the error message with source file and source line (if present).
 
FString GetErrorStringWithLineMarker () const
 Returns the error message with source file and source line (if present), as well as a line marker separated with a LINE_TERMINATOR.
 
FString RENDERCORE_API GetShaderSourceFilePath () const
 Returns the path of the underlying source file relative to the process base dir.
 
bool HasLineMarker () const
 Returns true if this error message has a marker string for the highlighted source line where the error occurred. 更多...
 

详细描述

A shader compiler error or warning.

成员函数说明

◆ HasLineMarker()

bool FShaderCompilerError::HasLineMarker ( ) const
inline

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

Example: /Engine/Private/MySourceFile.usf(120): error: undeclared identifier 'a' float b = a; ^


该结构体的文档由以下文件生成: