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

Method RenderConfigImpl

src/luxcore/luxcoreimpl.cpp:734–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732//------------------------------------------------------------------------------
733
734RenderConfigImpl::RenderConfigImpl(const Properties &props, SceneImpl *scn) {
735 if (scn) {
736 scene = scn;
737 allocatedScene = false;
738 renderConfig = new slg::RenderConfig(props, scene->scene);
739 } else {
740 renderConfig = new slg::RenderConfig(props);
741 scene = new SceneImpl(renderConfig->scene);
742 allocatedScene = true;
743 }
744}
745
746RenderConfigImpl::RenderConfigImpl(const std::string &fileName) {
747 renderConfig = slg::RenderConfig::LoadSerialized(fileName);

Callers

nothing calls this directly

Calls 1

IsGoodMethod · 0.80

Tested by

no test coverage detected