1 #include "resize_effect.h"
8 ResizeEffect::ResizeEffect()
9 : width(1280), height(720)
11 register_int("width", &width);
12 register_int("height", &height);
15 string ResizeEffect::output_fragment_shader()
17 return read_file("identity.frag");
20 void ResizeEffect::get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const
22 *virtual_width = *width = this->width;
23 *virtual_height = *height = this->height;