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

Method newTransferFunction

modules/cpu/ISPCDevice.cpp:421–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421OSPTransferFunction ISPCDevice::newTransferFunction(const char *type)
422{
423#ifdef OSPRAY_ENABLE_VOLUMES
424 return (OSPTransferFunction)TransferFunction::createInstance(type, *this);
425#else
426 (void)type;
427 return (OSPTransferFunction) nullptr;
428#endif
429}
430
431OSPTexture ISPCDevice::newTexture(const char *type)
432{

Callers 1

ospNewTransferFunctionFunction · 0.45

Calls 1

createInstanceFunction · 0.85

Tested by

no test coverage detected