MCPcopy Create free account
hub / github.com/RenderKit/ospray / ~PathTracerData

Method ~PathTracerData

modules/cpu/render/pathtracer/PathTracerData.cpp:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84PathTracerData::~PathTracerData()
85{
86 // Delete all lights structures
87 devicert::Device &device = lightArray->getDevice();
88 for (ispc::Light *lptr : *lightArray)
89 device.free(lptr);
90}
91
92ispc::Light *PathTracerData::createGeometryLight(const Instance *instance,
93 const GeometricModel *model,

Callers

nothing calls this directly

Calls 1

freeMethod · 0.45

Tested by

no test coverage detected