MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / RenderConfig_LoadResumeFile

Function RenderConfig_LoadResumeFile

src/luxcore/pyluxcore.cpp:1317–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315//------------------------------------------------------------------------------
1316
1317static boost::python::tuple RenderConfig_LoadResumeFile(const str &fileNameStr) {
1318 const string fileName = extract<string>(fileNameStr);
1319 luxcore::detail::RenderStateImpl *startState;
1320 luxcore::detail::FilmImpl *startFilm;
1321 luxcore::detail::RenderConfigImpl *config = new luxcore::detail::RenderConfigImpl(fileName, &startState, &startFilm);
1322
1323 return boost::python::make_tuple(TransferToPython(config), TransferToPython(startState), TransferToPython(startFilm));
1324}
1325
1326static luxcore::detail::RenderConfigImpl *RenderConfig_LoadFile(const str &fileNameStr) {
1327 const string fileName = extract<string>(fileNameStr);

Callers

nothing calls this directly

Calls 1

TransferToPythonFunction · 0.85

Tested by

no test coverage detected