RetroArch
gfx
drivers
gx2_shaders
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
;
46
}
tex_shader_vertex_t
;
47
48
extern
GX2Shader
tex_shader
;
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
/* TEX_SHADER_H */
tex_shader
GX2Shader tex_shader
Definition:
tex.c:119
GX2Shader
Definition:
shader_utils.h:64
shader_utils.h
tex_shader_vertex_t::b
float b
Definition:
tex.h:43
tex_shader_vertex_t::x
float x
Definition:
tex.h:29
tex_shader_vertex_t::r
float r
Definition:
tex.h:41
coord
GLuint coord
Definition:
glext.h:10418
tex_shader_vertex_t::y
float y
Definition:
tex.h:30
tex_shader_vertex_t::u
float u
Definition:
tex.h:35
color
GLuint color
Definition:
glext.h:6883
tex_shader_vertex_t::a
float a
Definition:
tex.h:44
tex_shader_vertex_t::g
float g
Definition:
tex.h:42
tex_shader_vertex_t::v
float v
Definition:
tex.h:36
tex_shader_vertex_t
Definition:
tex.h:25
Generated by
1.8.15