// An effect that simply resizes the picture to a given output size
// (set by the two integer parameters "width" and "height").
// Mostly useful as part of other algorithms.
// An effect that simply resizes the picture to a given output size
// (set by the two integer parameters "width" and "height").
// Mostly useful as part of other algorithms.
// in case we need to scale down a lot.
virtual bool need_texture_bounce() const { return true; }
virtual bool needs_mipmaps() const { return true; }
// in case we need to scale down a lot.
virtual bool need_texture_bounce() const { return true; }
virtual bool needs_mipmaps() const { return true; }
virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
private:
int width, height;
};
virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
private:
int width, height;
};