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

Method removeObjectParam

modules/cpu/ISPCDevice.cpp:485–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485void ISPCDevice::removeObjectParam(OSPObject _object, const char *name)
486{
487 ManagedObject *object = (ManagedObject *)_object;
488 ManagedObject *existing = object->getParamObject<ManagedObject>(name);
489 if (existing)
490 existing->refDec();
491 object->removeParam(name);
492}
493
494void ISPCDevice::commit(OSPObject _object)
495{

Callers 1

ospRemoveParamFunction · 0.45

Calls 1

removeParamMethod · 0.45

Tested by

no test coverage detected