- void set_format(PixelFormat);
- void apply_swizzle();
- void set_parameter_i(GLenum, int) const;
-
-public:
- Sampler &get_default_sampler() { return default_sampler; }
- const Sampler &get_default_sampler() const { return default_sampler; }
-
- DEPRECATED void set_min_filter(TextureFilter);
- DEPRECATED void set_mag_filter(TextureFilter);
-
- /** Sets filter for both minification and magnification. Since mipmapping
- is not applicable to magnification, LINEAR is used instead. */
- DEPRECATED void set_filter(TextureFilter);
-
- DEPRECATED void set_mipmap_levels(unsigned) { }
-
- DEPRECATED void set_max_anisotropy(float);
+ PixelFormat format = NO_PIXELFORMAT;
+ PixelFormat storage_fmt = NO_PIXELFORMAT;
+ ComponentSwizzle swizzle = NO_SWIZZLE;
+ unsigned n_levels = 0;
+ bool use_srgb_format = false;
+ bool auto_gen_mipmap = false;