wut
v1.7.0
Wii U Toolchain
include
gx2
utils.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wut.h
>
3
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
typedef
enum
GX2_SQ_SEL
15
{
16
GX2_SQ_SEL_X
= 0,
17
GX2_SQ_SEL_Y
= 1,
18
GX2_SQ_SEL_Z
= 2,
19
GX2_SQ_SEL_W
= 3,
20
21
GX2_SQ_SEL_R
= 0,
22
GX2_SQ_SEL_G
= 1,
23
GX2_SQ_SEL_B
= 2,
24
GX2_SQ_SEL_A
= 3,
25
26
GX2_SQ_SEL_0
= 4,
27
GX2_SQ_SEL_1
= 5,
28
GX2_SQ_SEL_MASK
= 7,
29
}
GX2_SQ_SEL
;
30
31
#define GX2_SEL_MASK(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
32
#define GX2_COMP_MAP(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
33
34
#ifdef __cplusplus
35
}
36
#endif
37
GX2_SQ_SEL
GX2_SQ_SEL
Definition:
utils.h:15
GX2_SQ_SEL_B
@ GX2_SQ_SEL_B
Definition:
utils.h:23
GX2_SQ_SEL_Y
@ GX2_SQ_SEL_Y
Definition:
utils.h:17
GX2_SQ_SEL_W
@ GX2_SQ_SEL_W
Definition:
utils.h:19
GX2_SQ_SEL_1
@ GX2_SQ_SEL_1
Definition:
utils.h:27
GX2_SQ_SEL_X
@ GX2_SQ_SEL_X
Definition:
utils.h:16
GX2_SQ_SEL_G
@ GX2_SQ_SEL_G
Definition:
utils.h:22
GX2_SQ_SEL_0
@ GX2_SQ_SEL_0
Definition:
utils.h:26
GX2_SQ_SEL_A
@ GX2_SQ_SEL_A
Definition:
utils.h:24
GX2_SQ_SEL_R
@ GX2_SQ_SEL_R
Definition:
utils.h:21
GX2_SQ_SEL_MASK
@ GX2_SQ_SEL_MASK
Definition:
utils.h:28
GX2_SQ_SEL_Z
@ GX2_SQ_SEL_Z
Definition:
utils.h:18
wut.h
Generated by
1.9.1