unsigned id;
GLenum target;
- PixelFormat ifmt;
+ PixelFormat format;
+ PixelFormat storage_fmt;
FormatSwizzle swizzle;
bool auto_gen_mipmap;
Sampler default_sampler;
~Texture();
protected:
- void set_internal_format(PixelFormat);
- PixelComponents get_upload_components(PixelComponents) const;
+ void set_format(PixelFormat);
void apply_swizzle();
void set_parameter_i(GLenum, int) const;