const luxrays::Property RenderConfig::GetProperty(const std::string &name) const { if (cfg.IsDefined(name)) return cfg.Get(name); else { // Use the default value return defaultProperties->Get(name); } }