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

Function AssertNoError

tutorials/verify/verify.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void AssertNoError(RTCDevice device)
67 {
68 RTCError error = rtcGetDeviceError(device);
69 if (error != RTC_ERROR_NONE)
70 throw std::runtime_error("Error occurred: "+string_of(error));
71 }
72
73 void AssertAnyError(RTCDevice device)
74 {

Callers 15

addGeometryMethod · 0.85
addUserGeometryEmptyMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls 2

rtcGetDeviceErrorFunction · 0.85
string_ofFunction · 0.85

Tested by

no test coverage detected