Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
newUserBuffer
Method · 0.80
newNativeUserBuffer
Method · 0.80
newExternalUserBuffer
Method · 0.80
Calls
1
getDevice
Function · 0.70
Tested by
no test coverage detected