MCPcopy 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
48template <typename T>
49inline T *StructSharedCreate(devicert::Device &device)
50{
51 return new (device.sharedMalloc(sizeof(T))) T;
52}
53
54struct StructSharedPtr
55{

Callers

nothing calls this directly

Calls 1

sharedMallocMethod · 0.45

Tested by

no test coverage detected