10#define HSD_TEXP_RAS ((HSD_TExp*) -2)
11#define HSD_TEXP_TEX ((HSD_TExp*) -1)
12#define HSD_TEXP_ZERO ((HSD_TExp*) 0)
16typedef enum _HSD_TEInput {
37typedef enum _HSD_TEType {
46typedef enum _HSD_TExpType {
58typedef struct _HSD_TevConf {
98typedef struct _HSD_TevDesc {
113typedef struct _HSD_TExpTevDesc {
114 struct _HSD_TevDesc desc;
118typedef struct _HSD_TECommon {
123typedef struct _HSD_TECnst {
135typedef struct _HSD_TEArg {
142typedef struct _HSD_TETev {
GXTevColorArg
Definition GXEnum.h:543
GXTevScale
Definition GXEnum.h:595
GXTevOp
Definition GXEnum.h:573
GXTevBias
Definition GXEnum.h:588
GXTevSwapSel
Definition GXEnum.h:519
GXTevKAlphaSel
Definition GXEnum.h:634
GXTevClampMode
Definition GXEnum.h:741
GXTevRegID
Definition GXEnum.h:445
GXTevKColorSel
Definition GXEnum.h:603
GXTevAlphaArg
Definition GXEnum.h:562
GXChannelID
Definition GXEnum.h:318
HSD_TExp * exp
Definition texp.h:139
u8 type
Definition texp.h:136
u8 arg
Definition texp.h:138
u8 sel
Definition texp.h:137
HSD_TEInput comp
Definition texp.h:127
HSD_TExp * next
Definition texp.h:125
HSD_TExpType type
Definition texp.h:124
u8 range
Definition texp.h:132
HSD_TEType ctype
Definition texp.h:128
u8 ref
Definition texp.h:131
u8 idx
Definition texp.h:130
u8 reg
Definition texp.h:129
void * val
Definition texp.h:126
HSD_TExpType type
Definition texp.h:119
HSD_TExp * next
Definition texp.h:120
s32 c_ref
Definition texp.h:145
u8 ras_swap
Definition texp.h:159
HSD_TExp * next
Definition texp.h:144
s32 a_ref
Definition texp.h:152
u8 a_bias
Definition texp.h:156
u8 a_op
Definition texp.h:154
u8 c_dst
Definition texp.h:146
HSD_TExpType type
Definition texp.h:143
HSD_TObj * tex
Definition texp.h:164
u8 a_scale
Definition texp.h:157
u8 a_dst
Definition texp.h:153
u8 kcsel
Definition texp.h:160
u8 c_scale
Definition texp.h:150
u8 c_bias
Definition texp.h:149
u8 c_clamp
Definition texp.h:148
u8 a_clamp
Definition texp.h:155
u8 c_range
Definition texp.h:151
u8 c_op
Definition texp.h:147
u8 kasel
Definition texp.h:161
u8 chan
Definition texp.h:165
u8 tex_swap
Definition texp.h:158
int failed
Definition texp.h:85
u8 c_ref[4]
Definition texp.h:92
u8 a_ref[4]
Definition texp.h:93
int texmap
Definition texp.h:86
u8 alpha
Definition texp.h:90
struct HSD_TExpRes::@255 reg[8]
u8 a_use[4]
Definition texp.h:95
int cnst_remain
Definition texp.h:87
u8 c_use[4]
Definition texp.h:94
u8 color
Definition texp.h:89
HSD_TObj * tobj
Definition texp.h:115
GXTevOp clr_op
Definition texp.h:59
u8 alpha_clamp
Definition texp.h:75
GXTevRegID clr_out_reg
Definition texp.h:67
GXTevClampMode mode
Definition texp.h:77
GXTevOp alpha_op
Definition texp.h:68
GXTevAlphaArg alpha_a
Definition texp.h:69
GXTevRegID alpha_out_reg
Definition texp.h:76
GXTevColorArg clr_a
Definition texp.h:60
u8 clr_clamp
Definition texp.h:66
GXTevScale alpha_scale
Definition texp.h:73
GXTevSwapSel tex_swap
Definition texp.h:79
GXTevAlphaArg alpha_d
Definition texp.h:72
GXTevKAlphaSel kasel
Definition texp.h:81
GXTevSwapSel ras_swap
Definition texp.h:78
GXTevKColorSel kcsel
Definition texp.h:80
GXTevColorArg clr_c
Definition texp.h:62
GXTevScale clr_scale
Definition texp.h:64
GXTevBias clr_bias
Definition texp.h:65
GXTevAlphaArg alpha_b
Definition texp.h:70
GXTevAlphaArg alpha_c
Definition texp.h:71
GXTevColorArg clr_b
Definition texp.h:61
GXTevBias alpha_bias
Definition texp.h:74
GXTevColorArg clr_d
Definition texp.h:63
u32 flags
Definition texp.h:100
u32 tevmode
Definition texp.h:108
HSD_TevConf tevconf
Definition texp.h:106
struct _HSD_TevDesc * next
Definition texp.h:99
u32 map
Definition texp.h:103
u32 color
Definition texp.h:104
u32 stage
Definition texp.h:101
u32 coord
Definition texp.h:102
HSD_TEType
Definition texp.h:37
@ HSD_TE_F64
Definition texp.h:42
@ HSD_TE_U16
Definition texp.h:39
@ HSD_TE_U32
Definition texp.h:40
@ HSD_TE_U8
Definition texp.h:38
@ HSD_TE_F32
Definition texp.h:41
@ HSD_TE_COMP_TYPE_MAX
Definition texp.h:43
HSD_TEInput
Definition texp.h:16
@ HSD_TE_B
Definition texp.h:21
@ HSD_TE_R
Definition texp.h:19
@ HSD_TE_1
Definition texp.h:25
@ HSD_TE_7_8
Definition texp.h:32
@ HSD_TE_A
Definition texp.h:22
@ HSD_TE_UNDEF
Definition texp.h:34
@ HSD_TE_2_8
Definition texp.h:27
@ HSD_TE_0
Definition texp.h:24
@ HSD_TE_6_8
Definition texp.h:31
@ HSD_TE_RGB
Definition texp.h:18
@ HSD_TE_X
Definition texp.h:23
@ HSD_TE_4_8
Definition texp.h:29
@ HSD_TE_5_8
Definition texp.h:30
@ HSD_TE_INPUT_MAX
Definition texp.h:33
@ HSD_TE_END
Definition texp.h:17
@ HSD_TE_G
Definition texp.h:20
@ HSD_TE_1_8
Definition texp.h:26
@ HSD_TE_3_8
Definition texp.h:28
void HSD_TExpUnref(HSD_TExp *texp, u8 sel)
Definition texp.c:46
HSD_TExpType HSD_TExpGetType(HSD_TExp *texp)
Definition texp.c:13
void HSD_TExpSetupTev(HSD_TExpTevDesc *, HSD_TExp *)
Definition texp.c:1068
void HSD_TExpRef(HSD_TExp *texp, u8 sel)
Definition texp.c:27
void HSD_TExpOrder(HSD_TExp *, HSD_TObj *, GXChannelID)
Definition texp.c:592
void HSD_TExpFreeTevDesc(HSD_TExpTevDesc *)
Definition texp.c:1127
void HSD_TExpColorOp(HSD_TExp *, GXTevOp, GXTevBias, GXTevScale, u8)
Definition texp.c:236
HSD_TExpType
Definition texp.h:46
@ HSD_TE_IMM
Definition texp.h:52
@ HSD_TE_CNST
Definition texp.h:51
@ HSD_TE_TYPE_MAX
Definition texp.h:55
@ HSD_TE_RAS
Definition texp.h:50
@ HSD_TE_ZERO
Definition texp.h:47
@ HSD_TE_KONST
Definition texp.h:53
@ HSD_TE_TEX
Definition texp.h:49
@ HSD_TE_ALL
Definition texp.h:54
@ HSD_TE_TEV
Definition texp.h:48
void HSD_TExpSetReg(HSD_TExp *texp)
Definition texp.c:1063
void HSD_TExpAlphaIn(HSD_TExp *texp, HSD_TEInput sel_a, HSD_TExp *exp_a, HSD_TEInput sel_b, HSD_TExp *exp_b, HSD_TEInput sel_c, HSD_TExp *exp_c, HSD_TEInput sel_d, HSD_TExp *exp_d)
Definition texp.c:576
void HSD_TExpColorIn(HSD_TExp *, HSD_TEInput, HSD_TExp *, HSD_TEInput, HSD_TExp *, HSD_TEInput, HSD_TExp *, HSD_TEInput, HSD_TExp *)
Definition texp.c:459
void HSD_TExpAlphaOp(HSD_TExp *, GXTevOp, GXTevBias, GXTevScale, u8)
Definition texp.c:253
HSD_TExp * HSD_TExpCnst(void *, HSD_TEInput, HSD_TEType, HSD_TExp **)
Definition texp.c:198
void HSD_TExpFree(HSD_TExp *texp)
Definition texp.c:92
int HSD_TExpCompile(HSD_TExp *, HSD_TExpTevDesc **, HSD_TExp **)
Definition texp.c:1081
HSD_TExp * HSD_TExpTev(HSD_TExp **)
Definition texp.c:177
HSD_TExp * HSD_TExpFreeList(HSD_TExp *, HSD_TExpType, s32)
Definition texp.c:104
HSD_TExpType type
Definition texp.h:169
struct _HSD_TECommon comm
Definition texp.h:170
struct _HSD_TECnst cnst
Definition texp.h:172
struct _HSD_TETev tev
Definition texp.h:171