MCPcopy Create free account
hub / github.com/RenderKit/oidn / oidnGetDeviceError

Function oidnGetDeviceError

api/api.cpp:534–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532 }
533
534 OIDN_API OIDNError oidnGetDeviceError(OIDNDevice deviceC, const char** outMessage)
535 {
536 Device* device = reinterpret_cast<Device*>(deviceC);
537 OIDN_TRY
538 return static_cast<OIDNError>(Device::getError(device, outMessage));
539 OIDN_CATCH_DEVICE(device)
540 if (outMessage) *outMessage = "";
541 return OIDN_ERROR_UNKNOWN;
542 }
543
544 OIDN_API void oidnCommitDevice(OIDNDevice deviceC)
545 {

Callers 2

getErrorMethod · 0.85
getErrorFunction · 0.85

Calls 1

getErrorFunction · 0.85

Tested by

no test coverage detected