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

Method getData

include/OpenImageDenoise/oidn.hpp:286–289  ·  view source on GitHub ↗

Gets a pointer to the buffer data, which is accessible to the device but not necessarily to the host as well, depending on the storage mode. Null pointer may be returned if the buffer is empty or getting a pointer to data with device storage is not supported by the device.

Source from the content-addressed store, hash-verified

284 // the host as well, depending on the storage mode. Null pointer may be returned if the buffer
285 // is empty or getting a pointer to data with device storage is not supported by the device.
286 void* getData() const
287 {
288 return oidnGetBufferData(handle);
289 }
290
291 // Copies data from a region of the buffer to host memory.
292 void read(size_t byteOffset, size_t byteSize, void* dstHostPtr) const

Callers

nothing calls this directly

Calls 1

oidnGetBufferDataFunction · 0.85

Tested by

no test coverage detected