RetroArch
menu_shaders.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2014-2018 - Ali Bouhlel
3  *
4  * RetroArch is free software: you can redistribute it and/or modify it under the terms
5  * of the GNU General Public License as published by the Free Software Found-
6  * ation, either version 3 of the License, or (at your option) any later version.
7  *
8  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  * PURPOSE. See the GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License along with RetroArch.
13  * If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #pragma once
17 
18 #include <wiiu/shader_utils.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 typedef struct
25 __attribute__((scalar_storage_order ("little-endian")))
26 __attribute__((aligned (16)))
27 {
28  GX2_mat4x4 mvp;
29  GX2_vec2 OutputSize;
30  float time;
32 
33 
37 extern GX2Shader snow_shader;
38 extern GX2Shader bokeh_shader;
40 
41 #ifdef __cplusplus
42 }
43 #endif
Definition: shader_utils.h:49
GX2_vec2
Definition: shader_utils.h:25
Definition: shader_utils.h:64
menu_shader_uniform_t
Definition: menu_shaders.h:31
GX2Shader ribbon_shader
Definition: ribbon.c:335
time_t time(time_t *timer)
GX2Shader bokeh_shader
Definition: bokeh.c:743
GX2Shader snow_simple_shader
Definition: snow_simple.c:1408
struct __attribute__((scalar_storage_order("little-endian"))) __attribute__((aligned(16)))
Definition: menu_shaders.h:25
GX2Shader ribbon_simple_shader
Definition: ribbon_simple.c:221
GX2Shader snow_shader
Definition: snow.c:1408
GX2Shader snowflake_shader
Definition: snowflake.c:589