- TextureFilter default_tex_filter;
- float default_tex_anisotropy;
+ template<typename T>
+ class GenericResourceLoader: public T::GenericLoader
+ {
+ private:
+ Resources &resources;
+
+ public:
+ GenericResourceLoader(Resources &r): T::GenericLoader(r), resources(r) { }
+
+ protected:
+ virtual void type(const DataFile::Symbol &);
+ };
+
/** Enables or disables sRGB conversion. If enabled, textures and material
colors are converted from sRGB to linear color space when loaded. */
DEPRECATED void set_srgb_conversion(bool);
/** Enables or disables sRGB conversion. If enabled, textures and material
colors are converted from sRGB to linear color space when loaded. */
DEPRECATED void set_srgb_conversion(bool);