| 487 | } |
| 488 | |
| 489 | OIDN_API void oidnSetDeviceInt(OIDNDevice deviceC, const char* name, int value) |
| 490 | { |
| 491 | Device* device = reinterpret_cast<Device*>(deviceC); |
| 492 | OIDN_TRY |
| 493 | checkHandle(deviceC); |
| 494 | OIDN_LOCK_DEVICE(device); |
| 495 | checkString(name); |
| 496 | device->setInt(name, value); |
| 497 | OIDN_CATCH_DEVICE(device) |
| 498 | } |
| 499 | |
| 500 | OIDN_API bool oidnGetDeviceBool(OIDNDevice deviceC, const char* name) |
| 501 | { |
no test coverage detected