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

Function main

tutorials/convert/convert.cpp:302–314  ·  view source on GitHub ↗

main function in embree namespace */

Source from the content-addressed store, hash-verified

300
301 /* main function in embree namespace */
302 int main(int argc, char** argv)
303 {
304 g_device = rtcNewDevice(nullptr);
305
306 /* create stream for parsing */
307 Ref<ParseStream> stream = new ParseStream(new CommandLineStream(argc, argv));
308
309 /* parse command line */
310 parseCommandLine(stream, FileName());
311
312 rtcReleaseDevice(g_device); g_device = nullptr;
313 return 0;
314 }
315}
316
317int main(int argc, char** argv)

Callers

nothing calls this directly

Calls 5

rtcNewDeviceFunction · 0.85
FileNameClass · 0.85
rtcReleaseDeviceFunction · 0.85
parseCommandLineFunction · 0.70
whatMethod · 0.45

Tested by

no test coverage detected