#ifndef POST_PROCESSOR_H #define POST_PROCESSOR_H #include "types.h" struct post_processor { i32 width, height; u32 msfbo; u32 fbo; u32 rbo; u32 texture; u32 vao; i32 confuse, chaos, shake; u32 shader; }; struct post_processor init_post_processor(i32 width, i32 height, u32 shader); void begin_render(struct post_processor processor); void end_render(struct post_processor processor); void render_post(struct post_processor processor, f32 time); #endif