+public:
+ class Loader: public DataFile::CollectionObjectLoader<Material>
+ {
+ private:
+ bool srgb;
+
+ public:
+ Loader(Material &);
+ Loader(Material &, Collection &);
+ private:
+ void init();
+
+ Color make_color(float, float, float, float);
+ void ambient(float, float, float, float);
+ void diffuse(float, float, float, float);
+ void specular(float, float, float, float);
+ void emission(float, float, float, float);
+ void shininess(float);
+ };
+