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

Function ospNewGeometry

ospray/api/API.cpp:403–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401OSPRAY_CATCH_END(nullptr)
402
403extern "C" OSPGeometry ospNewGeometry(const char *_type) OSPRAY_CATCH_BEGIN
404{
405 THROW_IF_NULL_STRING(_type);
406 ASSERT_DEVICE();
407 OSPGeometry geometry = currentDevice().newGeometry(_type);
408 return geometry;
409}
410OSPRAY_CATCH_END(nullptr)
411
412extern "C" OSPVolume ospNewVolume(const char *_type) OSPRAY_CATCH_BEGIN

Callers 7

newGeometryFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
buildScene1Function · 0.85
buildScene2Function · 0.85
mainFunction · 0.85
GeometryMethod · 0.85

Calls 1

newGeometryMethod · 0.45

Tested by

no test coverage detected