1 #include "resize_effect.h"
4 ResizeEffect::ResizeEffect()
5 : width(1280), height(720)
7 register_int("width", &width);
8 register_int("height", &height);
11 std::string ResizeEffect::output_fragment_shader()
13 return read_file("identity.frag");
16 void ResizeEffect::get_output_size(unsigned *width, unsigned *height) const
19 *height = this->height;