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

Function rtcGetDeviceError

kernels/common/rtcore.cpp:152–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 RTC_API RTCError rtcGetDeviceError(RTCDevice hdevice)
153 {
154 Device* device = (Device*) hdevice;
155 RTC_CATCH_BEGIN;
156 RTC_TRACE(rtcGetDeviceError);
157 if (device == nullptr) return Device::getThreadErrorCode();
158 else return device->getDeviceErrorCode();
159 RTC_CATCH_END(device);
160 return RTC_ERROR_UNKNOWN;
161 }
162
163 RTC_API const char* rtcGetDeviceLastErrorMessage(RTCDevice hdevice)
164 {

Callers 15

initializeDeviceFunction · 0.85
initializeDeviceFunction · 0.85
AssertNoErrorFunction · 0.85
AssertAnyErrorFunction · 0.85
AssertErrorFunction · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls 1

getDeviceErrorCodeMethod · 0.80

Tested by

no test coverage detected