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

Function main

tutorials/find_embree/find_embree.cpp:17–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#endif
16
17int main(int argc, char* argv[])
18{
19 /* for best performance set FTZ and DAZ flags in MXCSR control and status register */
20 _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
21 _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
22
23 /* create new Embree device */
24 RTCDevice device = rtcNewDevice("verbose=1");
25
26 /* delete device again */
27 rtcReleaseDevice(device);
28
29 return 0;
30}

Callers

nothing calls this directly

Calls 2

rtcNewDeviceFunction · 0.85
rtcReleaseDeviceFunction · 0.85

Tested by

no test coverage detected