~Texture();
protected:
- static DataType get_alloc_type(PixelFormat);
void set_internal_format(PixelFormat);
- PixelFormat get_upload_format(PixelFormat) const;
+ PixelComponents get_upload_components(PixelComponents) const;
void apply_swizzle();
void set_parameter_i(GLenum, int) const;