1 #ifndef MSP_GL_RESOURCES_H_
2 #define MSP_GL_RESOURCES_H_
4 #include <msp/datafile/collection.h>
12 class Resources: virtual public DataFile::Collection
15 TextureFilter default_tex_filter;
21 void set_default_texture_filter(TextureFilter);
23 /** Enables or disables sRGB conversion. If enabled, textures and material
24 colors are converted from sRGB to linear color space when loaded. */
25 void set_srgb_conversion(bool);
27 bool get_srgb_conversion() const { return srgb_conversion; }
30 Texture2D *create_texture2d(const std::string &);