initial commit
This commit is contained in:
12
render.h
Normal file
12
render.h
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
struct gl_data;
|
||||
|
||||
typedef struct renderer {
|
||||
bool alive;
|
||||
size_t bufsize_request, rate_request, samplesize_request;
|
||||
struct gl_data* gl;
|
||||
} renderer;
|
||||
|
||||
struct renderer* rd_new(int x, int y, int w, int h, const char* shader_path);
|
||||
void rd_update(struct renderer*, float* lb, float* rb, size_t bsz, bool modified);
|
||||
void rd_destroy(struct renderer*);
|
||||
Reference in New Issue
Block a user