MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / EmbreeDevice

Method EmbreeDevice

core/src/core/embree_device.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// --------------------------------------------------------------------------------------------------------------------
30
31EmbreeDevice::EmbreeDevice()
32{
33 mDevice = rtcNewDevice(nullptr);
34
35 int64_t major = rtcGetDeviceProperty(mDevice, RTC_DEVICE_PROPERTY_VERSION_MAJOR);
36 int64_t minor = rtcGetDeviceProperty(mDevice, RTC_DEVICE_PROPERTY_VERSION_MINOR);
37 int64_t patch = rtcGetDeviceProperty(mDevice, RTC_DEVICE_PROPERTY_VERSION_PATCH);
38
39 gLog().message(MessageSeverity::Info, "Initialized Embree v%lld.%02lld.%02lld.", major, minor, patch);
40}
41
42EmbreeDevice::~EmbreeDevice()
43{

Callers

nothing calls this directly

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected