| 5 | #include "conv.h" |
| 6 | |
| 7 | OIDN_NAMESPACE_BEGIN |
| 8 | |
| 9 | void Engine::setSubdevice(Subdevice* subdevice) |
| 10 | { |
| 11 | if (this->subdevice) |
| 12 | throw std::logic_error("subdevice already set"); |
| 13 | this->subdevice = subdevice; |
| 14 | } |
| 15 | |
| 16 | Ref<Heap> Engine::newHeap(size_t byteSize, Storage storage) |
| 17 | { |