RetroArch
frame.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 #ifndef __FRAME_SHADER_H_
17 #define __FRAME_SHADER_H_
18 
19 #include <wiiu/shader_utils.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 typedef struct
26 {
27  struct
28  {
29  float x;
30  float y;
31  }pos;
32 
33  struct
34  {
35  float u;
36  float v;
37  }coord;
39 
40 extern GX2Shader frame_shader;
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif /* __FRAME_SHADER_H_ */
Definition: shader_utils.h:64
GX2Shader frame_shader
Definition: frame.c:109
float x
Definition: frame.h:29
GLuint coord
Definition: glext.h:10418
float y
Definition: frame.h:30
float u
Definition: frame.h:35
Definition: frame.h:25
float v
Definition: frame.h:36