Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
lum_histogram.h
Go to the documentation of this file.
1#ifndef LUM_HISTOGRAM_H
2#define LUM_HISTOGRAM_H
3
4#include "app_subsystem.h"
5
6struct App;
7
8int lum_histogram_subsys_init(struct App* app);
9void lum_histogram_subsys_cleanup(struct App* app);
10
11#define APP_LUM_HISTOGRAM_DESCRIPTOR \
12 {"lum_histogram", lum_histogram_subsys_init, \
13 lum_histogram_subsys_cleanup}
14
15#endif /* LUM_HISTOGRAM_H */
Subsystem descriptor pattern for structured init/cleanup.
void lum_histogram_subsys_cleanup(struct App *app)
Definition lum_histogram.c:17
int lum_histogram_subsys_init(struct App *app)
Definition lum_histogram.c:8
The central state container for the entire application.
Definition app.h:24