mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-10 08:08:35 +03:00
26 lines
551 B
C++
26 lines
551 B
C++
/*
|
|
by korenkonder
|
|
GitHub/GitLab: korenkonder
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "../../KKdLib/default.hpp"
|
|
#include "../../KKdLib/vec.hpp"
|
|
#include "../shared.hpp"
|
|
#include "../render_texture.hpp"
|
|
|
|
struct post_process_aa {
|
|
int32_t width;
|
|
int32_t height;
|
|
render_texture mlaa_buffer[2];
|
|
GLuint mlaa_area_texture;
|
|
|
|
post_process_aa();
|
|
virtual ~post_process_aa();
|
|
|
|
void apply_mlaa(render_texture* rt,
|
|
render_texture* buf_rt, GLuint* samplers, int32_t ss_alpha_mask);
|
|
void init_fbo(int32_t width, int32_t height);
|
|
};
|