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

Method toUser

core/buffer.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 Buffer* Buffer::toUser()
66 {
67 // User-owned buffers must hold a reference to the device to keep it alive
68 userBufferDevice = getDevice();
69 return this;
70 }
71
72 void Buffer::attach(Memory* mem)
73 {

Callers 3

newUserBufferMethod · 0.80
newNativeUserBufferMethod · 0.80
newExternalUserBufferMethod · 0.80

Calls 1

getDeviceFunction · 0.70

Tested by

no test coverage detected