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

Method release

include/OpenImageDenoise/oidn.hpp:423–430  ·  view source on GitHub ↗

Releases the semaphore (decrements the reference count).

Source from the content-addressed store, hash-verified

421
422 // Releases the semaphore (decrements the reference count).
423 void release()
424 {
425 if (handle)
426 {
427 oidnReleaseSemaphore(handle);
428 handle = nullptr;
429 }
430 }
431
432 private:
433 OIDNSemaphore handle;

Callers

nothing calls this directly

Calls 1

oidnReleaseSemaphoreFunction · 0.85

Tested by

no test coverage detected