MCPcopy Create free account
hub / github.com/RenderKit/oidn / setSubdevice

Method setSubdevice

core/engine.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "conv.h"
6
7OIDN_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 {

Callers 1

engineFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected