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

Method release

include/OpenImageDenoise/oidn.hpp:795–802  ·  view source on GitHub ↗

Releases the device (decrements the reference count).

Source from the content-addressed store, hash-verified

793
794 // Releases the device (decrements the reference count).
795 void release()
796 {
797 if (handle)
798 {
799 oidnReleaseDevice(handle);
800 handle = nullptr;
801 }
802 }
803
804 // Sets a boolean parameter of the device.
805 void set(const char* name, bool value)

Callers

nothing calls this directly

Calls 1

oidnReleaseDeviceFunction · 0.85

Tested by

no test coverage detected