Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/oidn
/ getDevice
Function
getDevice
api/api.cpp:86–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
85
template<typename T>
86
oidn_inline Device* getDevice(T* obj)
87
{
88
return obj ? obj->getDevice() : nullptr;
89
}
90
91
oidn_inline Device* getDevice(std::nullptr_t)
92
{
Callers
nothing calls this directly
Calls
1
getDevice
Method · 0.45
Tested by
no test coverage detected