blob: 6909f96e14687f34a0e51016d09531416061d7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef FX_STENCILBUFFER_H
#define FX_STENCILBUFFER_H
#include <GLES2/gl2.h>
#include <stdbool.h>
#include <wlr/render/wlr_texture.h>
struct fx_stencilbuffer {
GLuint rb;
int width;
int height;
};
struct fx_stencilbuffer fx_stencilbuffer_create(void);
void fx_stencilbuffer_init(struct fx_stencilbuffer *stencil_buffer, int width, int height);
void fx_stencilbuffer_release(struct fx_stencilbuffer *stencil_buffer);
#endif
|