+ // texture size
+ double xsize, ysize;
+
+ // wrap texture?
+ bool wrapu, wrapv;
+
+ // use mipmapping?
+ int mipmap;
+
+ // coverage of night lighting.
+ double light_coverage;
+
+ // material properties
+ sgVec4 ambient, diffuse, specular, emission;
+
+ // true if texture loading deferred, and not yet loaded
+ bool texture_loaded;
+
+ // ref count so we can properly delete if we have multiple
+ // pointers to this record
+ int refcount;
+
+
+\f
+ ////////////////////////////////////////////////////////////////////
+ // Internal constructors and methods.
+ ////////////////////////////////////////////////////////////////////
+
+ FGNewMat (const FGNewMat &mat); // unimplemented
+
+ void read_properties (const SGPropertyNode * props);
+ void build_ssg_state(bool defer_tex_load = false);
+ void set_ssg_state( ssgSimpleState *s );
+
+};
+
+#endif // _NEWMAT_HXX