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

Function ospNewDevice

ospray/api/API.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169OSPRAY_CATCH_END()
170
171extern "C" OSPDevice ospNewDevice(const char *deviceType) OSPRAY_CATCH_BEGIN
172{
173 THROW_IF_NULL_STRING(deviceType);
174 return (OSPDevice)Device::createDevice(deviceType);
175}
176OSPRAY_CATCH_END(nullptr)
177
178extern "C" void ospSetCurrentDevice(OSPDevice _device) OSPRAY_CATCH_BEGIN

Callers 4

runWorkerFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
DeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected