taisei/src/video_postprocess.h
Andrei Alexeyev b88fc4ad2e
Support full-screen custom postprocessing
Works just like the viewport one, except the configuration goes in
shaders/global.pp instead. The player uniforms aren't available.
2019-08-09 21:42:04 +03:00

23 lines
697 B
C

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_video_postprocess_h
#define IGUARD_video_postprocess_h
#include "taisei.h"
#include "renderer/api.h"
typedef struct VideoPostProcess VideoPostProcess;
VideoPostProcess *video_postprocess_init(void);
void video_postprocess_shutdown(VideoPostProcess *vpp);
Framebuffer *video_postprocess_get_framebuffer(VideoPostProcess *vpp);
Framebuffer *video_postprocess_render(VideoPostProcess *vpp);
#endif // IGUARD_video_postprocess_h