};
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;