X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fresources.h;h=238d6c544c373c4fdde4848784600a6246e8a1b1;hp=1f3880aa431c86f69e278a07e951b9423a3273f4;hb=d901696935a6bf9fdad6ac8abe65ffab79bd297d;hpb=fa196218c247aba70dd7fb17178fa7474121acec diff --git a/source/resources.h b/source/resources.h index 1f3880aa..238d6c54 100644 --- a/source/resources.h +++ b/source/resources.h @@ -20,13 +20,17 @@ class Resources: virtual public DataFile::Collection { private: TextureFilter default_tex_filter; + float default_tex_anisotropy; bool srgb_conversion; ResourceManager *resource_manager; public: Resources(); + static const DataFile::CollectionSource &get_builtins(); + void set_default_texture_filter(TextureFilter); + void set_default_texture_anisotropy(float); /** Enables or disables sRGB conversion. If enabled, textures and material colors are converted from sRGB to linear color space when loaded. */