MCPcopy Create free account
hub / github.com/RenderKit/ospray / newSharedData

Method newSharedData

modules/cpu/ISPCDevice.cpp:341–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339///////////////////////////////////////////////////////////////////////////
340
341OSPData ISPCDevice::newSharedData(const void *sharedData,
342 OSPDataType type,
343 const vec3ul &numItems,
344 const vec3l &byteStride,
345 OSPDeleterCallback freeFunction,
346 const void *userPtr)
347{
348 return (OSPData) new Data(
349 *this, sharedData, type, numItems, byteStride, freeFunction, userPtr);
350}
351
352OSPData ISPCDevice::newData(OSPDataType type, const vec3ul &numItems)
353{

Callers 1

ospNewSharedDataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected