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

Function oidnGetFilterInt

api/api.cpp:990–1000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988 }
989
990 OIDN_API int oidnGetFilterInt(OIDNFilter filterC, const char* name)
991 {
992 Filter* filter = reinterpret_cast<Filter*>(filterC);
993 OIDN_TRY
994 checkHandle(filterC);
995 OIDN_LOCK_DEVICE(filter);
996 checkString(name);
997 return filter->getInt(name);
998 OIDN_CATCH_DEVICE(filter)
999 return 0;
1000 }
1001
1002 OIDN_API void oidnSetFilterFloat(OIDNFilter filterC, const char* name, float value)
1003 {

Callers 2

oidnGetFilter1iFunction · 0.85
getMethod · 0.85

Calls 2

checkStringFunction · 0.85
getIntMethod · 0.45

Tested by

no test coverage detected