Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXAttr.h
Go to the documentation of this file.
1#ifndef GXATTR_H
2#define GXATTR_H
3
4#include "dolphin/gx/GXEnum.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct _GXVtxDescList {
11 /* 0x0 */ GXAttr attr;
12 /* 0x4 */ GXAttrType type;
13} GXVtxDescList; // Size: 0x08
14
15typedef struct _GXVtxAttrFmtList {
16 /* 0x00 */ GXAttr mAttrib;
17 /* 0x04 */ GXCompCnt mCompCnt;
19 /* 0x0C */ u8 mCompShift;
20} GXVtxAttrFmtList; // Size: 0x10
21
24void __GXSetVCD(void);
25void __GXCalculateVLim(void);
26void GXClearVtxDesc(void);
29void __GXSetVAT(void);
30void GXSetArray(GXAttr attr, void* base, u8);
31void GXInvalidateVtxCache(void);
35
38 u8* param_4);
40
44
45#ifdef __cplusplus
46};
47#endif
48
49#endif /* GXATTR_H */
void GXGetVtxAttrFmtv(GXVtxFmt param_0, GXVtxAttrFmtList *param_1)
Definition GXAttr.c:453
void GXClearVtxDesc(void)
Definition GXAttr.c:303
void GXInvalidateVtxCache(void)
Definition GXAttr.c:609
void GXSetVtxAttrFmt(GXVtxFmt fmt, GXAttr attr, GXCompCnt cnt, GXCompType type, u8)
Definition GXAttr.c:388
void GXSetNumTexGens(u8 numTexGens)
Definition GXAttr.c:758
static void GXSetTexCoordGen(GXTexCoordID dst, GXTexGenType type, GXTexGenSrc src, u32 mtx)
Definition GXAttr.h:41
struct _GXVtxAttrFmtList GXVtxAttrFmtList
void __GXSetVCD(void)
Definition GXAttr.c:144
void GXSetArray(GXAttr attr, void *base, u8)
Definition GXAttr.c:590
void GXSetTexCoordGen2(GXTexCoordID dst, GXTexGenType type, GXTexGenSrc src, u32 mtx, GXBool renormalize, u32 pt_mtx)
Definition GXAttr.c:614
void GXSetVtxDescv(GXVtxDescList *list)
Definition GXAttr.c:109
void GXGetVtxDescv(GXVtxDescList *attrPtr)
Definition GXAttr.c:287
void GXSetVtxDesc(GXAttr attr, GXAttrType type)
Definition GXAttr.c:95
struct _GXVtxDescList GXVtxDescList
void __GXSetVAT(void)
Definition GXAttr.c:418
void __GXCalculateVLim(void)
Definition GXAttr.c:152
void GXGetVtxAttrFmt(GXVtxFmt param_0, int param_1, GXCompCnt *param_2, GXCompType *param_3, u8 *param_4)
Definition GXAttr.c:489
void GXSetVtxAttrFmtv(GXVtxFmt fmt, GXVtxAttrFmtList *list)
Definition GXAttr.c:400
enum _GXCompType GXCompType
enum _GXTexCoordID GXTexCoordID
enum _GXTexGenSrc GXTexGenSrc
enum _GXAttr GXAttr
enum _GXVtxFmt GXVtxFmt
@ GX_PTIDENTITY
Definition GXEnum.h:762
enum _GXCompCnt GXCompCnt
enum _GXTexGenType GXTexGenType
u8 GXBool
Definition GXEnum.h:23
enum _GXAttrType GXAttrType
static Mtx mtx[10]
Definition c_lib.cpp:347
T cLib_calcTimer(T *value)
Definition c_lib.h:74
static const Attr & attr()
Definition d_a_obj_ladder.cpp:135
Definition GXAttr.h:15
u8 mCompShift
Definition GXAttr.h:19
GXCompType mCompType
Definition GXAttr.h:18
GXAttr mAttrib
Definition GXAttr.h:16
GXCompCnt mCompCnt
Definition GXAttr.h:17
Definition GXAttr.h:10
GXAttr attr
Definition GXAttr.h:11
GXAttrType type
Definition GXAttr.h:12
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8