MCPcopy Create free account
hub / github.com/RenderKit/embree / getErrorString

Method getErrorString

kernels/common/device.cpp:628–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626 };
627
628 const char* Device::getErrorString(RTCError error) {
629 if (error >= 0 && error < error_strings.size()) {
630 return error_strings.at(error).c_str();
631 }
632 return "Invalid error code";
633 }
634
635#if defined(EMBREE_SYCL_SUPPORT)
636

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
c_strMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected