- // Create the texture itself. We cannot do this in the constructor,
- // because we don't necessarily know all the settings (sRGB texture,
- // mipmap generation) at that point.
- virtual void finalize() = 0;
+ // Whether this input can deliver linear gamma directly if it's
+ // asked to. (If so, set the parameter “output_linear_gamma”
+ // to activate it.)
+ virtual bool can_output_linear_gamma() const = 0;
+
+ // Whether this input can supply mipmaps if asked to (by setting
+ // the "needs_mipmaps" integer parameter set to 1).
+ virtual bool can_supply_mipmaps() const { return true; }