RetroArch
menu_shader.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _MENU_SHADER_MANAGER_H
18 #define _MENU_SHADER_MANAGER_H
19 
20 #include <retro_common_api.h>
21 
22 #include "../gfx/video_driver.h"
23 
25 
26 struct video_shader *menu_shader_get(void);
27 
28 void menu_shader_manager_free(void);
29 
35 bool menu_shader_manager_init(void);
36 
46  void *data, unsigned type, const char *preset_path);
47 
56  const char *basename, bool apply, bool fullpath);
57 
66 unsigned menu_shader_manager_get_type(const void *data);
67 
74 
76 
78 
80 
82 
84 
86 
88 
90 
91 #endif
int menu_shader_manager_clear_parameter(unsigned i)
Definition: menu_shader.c:403
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
int menu_shader_manager_clear_pass_filter(unsigned i)
Definition: menu_shader.c:419
void menu_shader_manager_decrement_amount_passes(void)
Definition: menu_shader.c:47
void menu_shader_manager_apply_changes(void)
Definition: menu_shader.c:504
Definition: ibxm.h:9
Definition: video_shader_parse.h:143
int menu_shader_manager_clear_num_passes(void)
Definition: menu_shader.c:386
GLenum type
Definition: glext.h:6233
void menu_shader_manager_clear_pass_path(unsigned i)
Definition: menu_shader.c:447
unsigned menu_shader_manager_get_type(const void *data)
Definition: menu_shader.c:465
bool menu_shader_manager_init(void)
Definition: menu_shader.c:79
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void menu_shader_manager_clear_pass_scale(unsigned i)
Definition: menu_shader.c:433
void menu_shader_manager_increment_amount_passes(void)
Definition: menu_shader.c:57
RETRO_BEGIN_DECLS struct video_shader * menu_shader_get(void)
Definition: menu_shader.c:40
bool menu_shader_manager_set_preset(void *data, unsigned type, const char *preset_path)
Definition: menu_shader.c:169
bool menu_shader_manager_save_preset(const char *basename, bool apply, bool fullpath)
Definition: menu_shader.c:239
void menu_shader_manager_free(void)
Definition: menu_shader.c:67