RetroArch
tex.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2014-2016 - 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 TEX_SHADER_H
17 #define TEX_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;
38 
39  struct
40  {
41  float r;
42  float g;
43  float b;
44  float a;
45  }color;
47 
48 extern GX2Shader tex_shader;
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* TEX_SHADER_H */
GX2Shader tex_shader
Definition: tex.c:119
Definition: shader_utils.h:64
float b
Definition: tex.h:43
float x
Definition: tex.h:29
float r
Definition: tex.h:41
GLuint coord
Definition: glext.h:10418
float y
Definition: tex.h:30
float u
Definition: tex.h:35
GLuint color
Definition: glext.h:6883
float a
Definition: tex.h:44
float g
Definition: tex.h:42
float v
Definition: tex.h:36
Definition: tex.h:25