MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / osl_error

Function osl_error

src/liboslexec/opstring.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191OSL_SHADEOP void
192osl_error (ShaderGlobals *sg, const char* format_str, ...)
193{
194 va_list args;
195 va_start (args, format_str);
196 std::string s = Strutil::vformat (format_str, args);
197 va_end (args);
198 sg->context->error ("%s", s);
199}
200
201
202OSL_SHADEOP void

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected