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

Function ospNewTransferFunction

ospray/api/API.cpp:454–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452OSPRAY_CATCH_END(nullptr)
453
454extern "C" OSPTransferFunction ospNewTransferFunction(
455 const char *_type) OSPRAY_CATCH_BEGIN
456{
457 THROW_IF_NULL_STRING(_type);
458
459 ASSERT_DEVICE();
460 auto transferFunction = currentDevice().newTransferFunction(_type);
461 return transferFunction;
462}
463OSPRAY_CATCH_END(nullptr)
464
465extern "C" OSPTexture ospNewTexture(const char *_type) OSPRAY_CATCH_BEGIN

Callers 2

newTransferFunctionFunction · 0.85
TransferFunctionMethod · 0.85

Calls 1

newTransferFunctionMethod · 0.45

Tested by

no test coverage detected