MCPcopy Create free account
hub / github.com/RenderKit/ospray / ospDeviceRetain

Function ospDeviceRetain

ospray/api/API.cpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310OSPRAY_CATCH_END()
311
312extern "C" void ospDeviceRetain(OSPDevice _object) OSPRAY_CATCH_BEGIN
313{
314 auto *object = (Device *)_object;
315 if (!object)
316 return;
317 object->refInc();
318}
319OSPRAY_CATCH_END()
320
321extern "C" OSPError ospLoadModule(const char *module_name) OSPRAY_CATCH_BEGIN

Callers 3

mainFunction · 0.85
DeviceMethod · 0.85
Device.hFile · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68