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

Function rtcSetDeviceMemoryMonitorFunction

kernels/common/rtcore.cpp:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 RTC_API void rtcSetDeviceMemoryMonitorFunction(RTCDevice hdevice, RTCMemoryMonitorFunction memoryMonitor, void* userPtr)
185 {
186 Device* device = (Device*) hdevice;
187 RTC_CATCH_BEGIN;
188 RTC_TRACE(rtcSetDeviceMemoryMonitorFunction);
189 device->setMemoryMonitorFunction(memoryMonitor, userPtr);
190 RTC_CATCH_END(device);
191 }
192
193 RTC_API RTCBuffer rtcNewBuffer(RTCDevice hdevice, size_t byteSize)
194 {

Callers 5

run_buildMethod · 0.85
runMethod · 0.85
setupMethod · 0.85
buildFunction · 0.85
device_initFunction · 0.85

Calls 1

Tested by

no test coverage detected