| 419 | } |
| 420 | |
| 421 | OSPTransferFunction 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 | |
| 431 | OSPTexture ISPCDevice::newTexture(const char *type) |
| 432 | { |
no test coverage detected