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

Function rtcGetDeviceProperty

kernels/common/rtcore.cpp:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 RTC_API ssize_t rtcGetDeviceProperty(RTCDevice hdevice, RTCDeviceProperty prop)
129 {
130 Device* device = (Device*) hdevice;
131 RTC_CATCH_BEGIN;
132 RTC_TRACE(rtcGetDeviceProperty);
133 RTC_VERIFY_HANDLE(hdevice);
134 Lock<MutexSys> lock(g_mutex);
135 return device->getProperty(prop);
136 RTC_CATCH_END(device);
137 return 0;
138 }
139
140 RTC_API void rtcSetDeviceProperty(RTCDevice hdevice, const RTCDeviceProperty prop, ssize_t val)
141 {

Callers 9

prefetchUSMSharedOnGPUFunction · 0.85
runMethod · 0.85
runMethod · 0.85
VerifyApplicationMethod · 0.85
lazyCreateFunction · 0.85
createLazyObjectFunction · 0.85
nativePacketSupportedFunction · 0.85

Calls 1

getPropertyMethod · 0.80

Tested by

no test coverage detected