void load_external_image(Graphics::Image &, const std::string &);
private:
+ void external_data(const std::string &);
void external_image(bool, const std::string &);
void generate_mipmap(bool);
void image_data(const std::string &);
};
protected:
- enum FormatSwizzle
- {
- NO_SWIZZLE,
- R_TO_LUMINANCE,
- RG_TO_LUMINANCE_ALPHA,
- RGB_TO_BGR
- };
-
PixelFormat format;
PixelFormat storage_fmt;
- FormatSwizzle swizzle;
+ ComponentSwizzle swizzle;
bool use_srgb_format;
bool auto_gen_mipmap;