| 381 | } |
| 382 | |
| 383 | OSPVolume ISPCDevice::newVolume(const char *type) |
| 384 | { |
| 385 | #ifdef OSPRAY_ENABLE_VOLUMES |
| 386 | return (OSPVolume) new Volume(*this, type); |
| 387 | #else |
| 388 | (void)type; |
| 389 | return (OSPVolume) nullptr; |
| 390 | #endif |
| 391 | } |
| 392 | |
| 393 | OSPGeometricModel ISPCDevice::newGeometricModel(OSPGeometry _geom) |
| 394 | { |