bool use_srgb_format;
bool auto_gen_mipmap;
Sampler default_sampler;
+ std::string debug_name;
static int swizzle_orders[];
~Texture();
protected:
+ void generate_id();
void set_format(PixelFormat);
void apply_swizzle();
void set_parameter_i(GLenum, int) const;
static void unbind_from(unsigned);
virtual UInt64 get_data_size() const { return 0; }
+
+ void set_debug_name(const std::string &);
};
} // namespace GL