void GlobalSettings::fillProperties(ParsedBlock& pb) { pb.getIntProp("frameWidth", &frameWidth); pb.getIntProp("frameHeight", &frameHeight); pb.getColorProp("ambientLight", &ambientLight); pb.getIntProp("maxTraceDepth", &maxTraceDepth); pb.getBoolProp("dbg", &dbg); pb.getBoolProp("wantPrepass", &wantPrepass); pb.getBoolProp("wantAA", &wantAA); pb.getDoubleProp("aaThresh", &aaThresh); }
void Light::fillProperties(ParsedBlock& pb) { pb.getColorProp("color", &col); }