Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/ospray
/ StructSharedCreate
Function
StructSharedCreate
modules/cpu/common/StructShared.h:49–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
48
template <typename T>
49
inline T *StructSharedCreate(devicert::Device &device)
50
{
51
return new (device.sharedMalloc(sizeof(T))) T;
52
}
53
54
struct StructSharedPtr
55
{
Callers
nothing calls this directly
Calls
1
sharedMalloc
Method · 0.45
Tested by
no test coverage detected