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

Function oidnGetPhysicalDeviceString

api/api.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 OIDN_API const char* oidnGetPhysicalDeviceString(int physicalDeviceID, const char* name)
178 {
179 OIDN_TRY
180 OIDN_INIT_CONTEXT(ctx, DeviceType::Default);
181 checkString(name);
182 return ctx.getPhysicalDevice(physicalDeviceID)->getString(name);
183 OIDN_CATCH
184 return nullptr;
185 }
186
187 OIDN_API const void* oidnGetPhysicalDeviceData(int physicalDeviceID, const char* name, size_t* byteSize)
188 {

Callers 1

getMethod · 0.85

Calls 2

checkStringFunction · 0.85
getStringMethod · 0.80

Tested by

no test coverage detected