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

Function oidnSetDeviceBool

api/api.cpp:478–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 }
477
478 OIDN_API void oidnSetDeviceBool(OIDNDevice deviceC, const char* name, bool value)
479 {
480 Device* device = reinterpret_cast<Device*>(deviceC);
481 OIDN_TRY
482 checkHandle(deviceC);
483 OIDN_LOCK_DEVICE(device);
484 checkString(name);
485 device->setInt(name, value);
486 OIDN_CATCH_DEVICE(device)
487 }
488
489 OIDN_API void oidnSetDeviceInt(OIDNDevice deviceC, const char* name, int value)
490 {

Callers 2

oidnSetDevice1bFunction · 0.85
setMethod · 0.85

Calls 2

checkStringFunction · 0.85
setIntMethod · 0.45

Tested by

no test coverage detected