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

Function ospSetParam

ospray/api/API.cpp:517–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515///////////////////////////////////////////////////////////////////////////////
516
517extern "C" void ospSetParam(OSPObject _object,
518 const char *id,
519 OSPDataType type,
520 const void *mem) OSPRAY_CATCH_BEGIN
521{
522 THROW_IF_NULL_OBJECT(_object);
523 THROW_IF_NULL_STRING(id);
524 ASSERT_DEVICE();
525 currentDevice().setObjectParam(_object, id, type, mem);
526}
527OSPRAY_CATCH_END()
528
529extern "C" void ospRemoveParam(

Callers 15

setParamFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
buildScene1Function · 0.85
buildScene2Function · 0.85
mainFunction · 0.85
ospSetStringFunction · 0.85
ospSetObjectFunction · 0.85
ospSetBoolFunction · 0.85
ospSetFloatFunction · 0.85
ospSetIntFunction · 0.85
ospSetUIntFunction · 0.85

Calls 1

setObjectParamMethod · 0.45

Tested by

no test coverage detected