| 452 | OSPRAY_CATCH_END(nullptr) |
| 453 | |
| 454 | extern "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 | } |
| 463 | OSPRAY_CATCH_END(nullptr) |
| 464 | |
| 465 | extern "C" OSPTexture ospNewTexture(const char *_type) OSPRAY_CATCH_BEGIN |
no test coverage detected