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

Method getDeviceErrorCode

kernels/common/device.cpp:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 }
269
270 RTCError Device::getDeviceErrorCode()
271 {
272 RTCErrorMessage* stored_error = errorHandler.error();
273 RTCErrorMessage error = *stored_error;
274 stored_error->error = RTC_ERROR_NONE;
275 return error.error;
276 }
277
278 const char* Device::getDeviceLastErrorMessage()
279 {

Callers 1

rtcGetDeviceErrorFunction · 0.80

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected