MCPcopy Create free account
hub / github.com/RenderKit/embree / deleteObjects

Function deleteObjects

tutorials/buildbench/buildbench_device.cpp:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void deleteObjects(ISPCScene* scene_in, RTCScene scene_out)
169 {
170 size_t numGeometries = scene_in->numGeometries;
171 for (size_t i=0; i<numGeometries; i++)
172 rtcDetachGeometry(scene_out,i);
173 }
174
175#ifdef USE_GOOGLE_BENCHMARK
176 inline void addCounter(BenchState& state, size_t numPrims, size_t numObjects)

Callers 2

Benchmark_Dynamic_CreateFunction · 0.85

Calls 1

rtcDetachGeometryFunction · 0.85

Tested by

no test coverage detected