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

Function oidnSetFilterFloat

api/api.cpp:1002–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000 }
1001
1002 OIDN_API void oidnSetFilterFloat(OIDNFilter filterC, const char* name, float value)
1003 {
1004 Filter* filter = reinterpret_cast<Filter*>(filterC);
1005 OIDN_TRY
1006 checkHandle(filterC);
1007 OIDN_LOCK_DEVICE(filter);
1008 checkString(name);
1009 filter->setFloat(name, value);
1010 OIDN_CATCH_DEVICE(filter)
1011 }
1012
1013 OIDN_API float oidnGetFilterFloat(OIDNFilter filterC, const char* name)
1014 {

Callers 2

oidnSetFilter1fFunction · 0.85
setFunction · 0.85

Calls 2

checkStringFunction · 0.85
setFloatMethod · 0.80

Tested by

no test coverage detected