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

Function oidnSetDeviceInt

api/api.cpp:489–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 3

oidnSetDevice1iFunction · 0.85
oidnSetDeviceUIntFunction · 0.85
setMethod · 0.85

Calls 2

checkStringFunction · 0.85
setIntMethod · 0.45

Tested by

no test coverage detected