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

Method setProperty

kernels/common/device.cpp:421–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419 }
420
421 void Device::setProperty(const RTCDeviceProperty prop, ssize_t val)
422 {
423 /* hidden internal properties */
424 switch ((size_t)prop)
425 {
426 case 1000000: debug_int0 = val; return;
427 case 1000001: debug_int1 = val; return;
428 case 1000002: debug_int2 = val; return;
429 case 1000003: debug_int3 = val; return;
430 }
431
432 throw_RTCError(RTC_ERROR_INVALID_ARGUMENT, "unknown writable property");
433 }
434
435 ssize_t Device::getProperty(const RTCDeviceProperty prop)
436 {

Callers 1

rtcSetDevicePropertyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected