MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnError

Method OnError

Source/Engine/ShadersCompilation/Parser/ShaderProcessing.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void ShaderProcessing::Parser::OnError(const String& message)
104{
105 // Set flag
106 failed = true;
107
108 // Send event
109 LOG(Error, "Processing shader '{0}' error at line {1}. {2}", targetName, text.GetLine(), message);
110}
111
112void ShaderProcessing::Parser::OnWarning(const String& message)
113{

Callers 15

CompileShaderMethod · 0.45
ProcessDebugInfoFunction · 0.45
ProcessShaderFunction · 0.45
CompileShaderMethod · 0.45
CompileShaderMethod · 0.45
ProcessMethod · 0.45
OnParseAfterMethod · 0.45
OnParseMethod · 0.45
CollectResultsMethod · 0.45
ProcessMethod · 0.45
OnParseBeforeMethod · 0.45
OnParseAfterMethod · 0.45

Calls 1

GetLineMethod · 0.80

Tested by

no test coverage detected