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

Function ospNewCamera

ospray/api/API.cpp:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392OSPRAY_CATCH_END(nullptr)
393
394extern "C" OSPCamera ospNewCamera(const char *_type) OSPRAY_CATCH_BEGIN
395{
396 THROW_IF_NULL_STRING(_type);
397 ASSERT_DEVICE();
398 OSPCamera camera = currentDevice().newCamera(_type);
399 return camera;
400}
401OSPRAY_CATCH_END(nullptr)
402
403extern "C" OSPGeometry ospNewGeometry(const char *_type) OSPRAY_CATCH_BEGIN

Callers 7

newCameraFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
buildScene1Function · 0.85
buildScene2Function · 0.85
mainFunction · 0.85
CameraMethod · 0.85

Calls 1

newCameraMethod · 0.45

Tested by

no test coverage detected