$darkmode
#include "postprocess_input.h"#include "log.h"#include "postprocess_presets.h"#include "utils.h"#include <string.h>Enumerations | |
| enum | { NOTIF_BUF_SIZE = 128 } |
Functions | |
| static void | toggle_postfx (const PostProcessInputContext *ctx, PostProcessEffect feature, const char *name) |
| static void | toggle_postfx_complex (const PostProcessInputContext *ctx, int mods, PostProcessEffect feature, PostProcessEffect debug_feature, const char *name, const char *debug_name) |
| static void | handle_exposure_input (const PostProcessInputContext *ctx, int key) |
| static void | handle_preset_input (const PostProcessInputContext *ctx, int key, int mods) |
| static void | handle_fxaa_input (const PostProcessInputContext *ctx, int mods) |
| void | postprocess_input_handle_key (const PostProcessInputContext *ctx, int key, int mods) |
| Handles key input events related to post-processing. More... | |
|
static |
|
static |
|
static |
| void postprocess_input_handle_key | ( | const PostProcessInputContext * | ctx, |
| int | key, | ||
| int | mods | ||
| ) |
Handles key input events related to post-processing.
Processes keys for toggling effects (Bloom, DOF, etc.), cycling presets, and adjusting exposure.
| ctx | Pointer to the input context. |
| key | The GLFW key code. |
| mods | The GLFW modifier flags. |
|
static |
|
static |