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

Function oidnGetDeviceBool

api/api.cpp:500–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498 }
499
500 OIDN_API bool oidnGetDeviceBool(OIDNDevice deviceC, const char* name)
501 {
502 Device* device = reinterpret_cast<Device*>(deviceC);
503 OIDN_TRY
504 checkHandle(deviceC);
505 OIDN_LOCK_DEVICE(device);
506 checkString(name);
507 return device->getInt(name);
508 OIDN_CATCH_DEVICE(device)
509 return false;
510 }
511
512 OIDN_API int oidnGetDeviceInt(OIDNDevice deviceC, const char* name)
513 {

Callers 2

oidnGetDevice1bFunction · 0.85
getMethod · 0.85

Calls 2

checkStringFunction · 0.85
getIntMethod · 0.45

Tested by

no test coverage detected