MCPcopy Create free account
hub / github.com/RenderKit/embree / ~Scene

Method ~Scene

kernels/common/scene.cpp:80–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 Scene::~Scene() noexcept
81 {
82#if defined(EMBREE_SYCL_SUPPORT)
83 if (geometry_data_device) {
84 device->free(geometry_data_device);
85 }
86 if (geometries_device) {
87 device->free(geometries_device);
88 }
89 if (scene_device) {
90 device->free(scene_device);
91 }
92 if (offsets) {
93 device->free(offsets);
94 }
95 if (geometries_host) {
96 device->free(geometries_host);
97 }
98 if (geometry_data_host) {
99 device->free(geometry_data_host);
100 }
101#endif
102
103 device->refDec();
104 }
105
106 void Scene::printStatistics()
107 {

Callers

nothing calls this directly

Calls 2

refDecMethod · 0.80
freeMethod · 0.45

Tested by

no test coverage detected